Interface AttributeDescriptorRemote
-
- All Superinterfaces:
DescriptorRemote
,EntityProxy
,ExtensibleItemRemote
,ItemRemote
,LocalizableItemRemote
,TypeManagerManagedRemote
- All Known Implementing Classes:
AttributeDescriptor_HJMPWrapper
,AttributeDescriptorEJB
public interface AttributeDescriptorRemote extends DescriptorRemote
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
changeDeclaringEnclosingType(ComposedTypeRemote type)
boolean
dontOptimize()
TypeRemote
getAttributeType()
java.lang.String
getDatabaseColumn()
ComposedTypeRemote
getDeclaringEnclosingType()
AttributeDescriptorRemote
getDeclaringSuperAttributeDescriptor()
ComposedTypeRemote
getEnclosingType()
java.util.List
getInheritancePath()
java.lang.String
getInheritancePathString()
int
getModifiers()
java.lang.Class
getPersistenceClass()
java.lang.String
getPersistenceQualifier()
AtomicTypeRemote
getPersistenceType()
java.lang.String
getQualifier()
AttributeDescriptorRemote
getSelectionOf()
boolean
isAssignableFrom(AttributeDescriptorRemote fd)
boolean
isInherited()
boolean
isInitial()
boolean
isLocalized()
boolean
isOptional()
boolean
isPartOf()
boolean
isPrivate()
boolean
isProperty()
boolean
isReadable()
boolean
isRemovable()
boolean
isSearchable()
boolean
isWritable()
void
reinitializeAttribute(java.lang.String qualifier, java.lang.String persistenceQualifier, TypeRemote type, AtomicTypeRemote persistenceType, int modifiers, AttributeDescriptorRemote superFD, java.util.List inheritencePath, ComposedTypeRemote metaType, AttributeDescriptorRemote selectionOfDesc)
void
setAttributeType(TypeRemote type)
void
setDatabaseColumn(java.lang.String col)
boolean
setDeclared()
changes a inherited feature into a declared one by taking its enclosing type as its new declaring enclosing type.void
setDontOptimize(boolean dontopt)
void
setEnclosingType(ComposedTypeRemote enclType)
void
setInitial(boolean init)
void
setLocalized(boolean localized)
void
setModifiers(int modifiers)
void
setOptional(boolean optional)
void
setPartOf(boolean part)
void
setPrivate(boolean priv)
void
setProperty(boolean isProperty)
void
setReadable(boolean readable)
void
setRemovable(boolean removable)
void
setSearchable(boolean search)
void
setSelectionOf(AttributeDescriptorRemote descriptor)
void
setWritable(boolean writable)
-
Methods inherited from interface de.hybris.platform.persistence.framework.EntityProxy
getPK
-
Methods inherited from interface de.hybris.platform.persistence.ExtensibleItemRemote
copyPropertiesFrom, getAllProperties, getProperty, getPropertyNames, getPropertyRaw, getPropertyTimestamp, getTypeInfoMap, removeProperty, setAllProperties, setProperty
-
Methods inherited from interface de.hybris.platform.persistence.ItemRemote
getComposedType, getCreationTime, getHJMPTS, getModifiedTime, getOwner, getPkString, getTypeKey, hasJNDIName, remove, setComposedType, setCreationTime, setModifiedTime, setOwner, setOwnerRef, wasModifiedSince
-
Methods inherited from interface de.hybris.platform.persistence.c2l.LocalizableItemRemote
copyLocalizablePropertiesFrom, getAllLocalizedProperties, getAllLocalizedProperties, getLocalizedProperty, getLocalizedPropertyNames, hintPropertyCache, removeLocalizedProperty, setAllLocalizedProperties, setLocalizedProperty
-
-
-
-
Method Detail
-
reinitializeAttribute
void reinitializeAttribute(java.lang.String qualifier, java.lang.String persistenceQualifier, TypeRemote type, AtomicTypeRemote persistenceType, int modifiers, AttributeDescriptorRemote superFD, java.util.List inheritencePath, ComposedTypeRemote metaType, AttributeDescriptorRemote selectionOfDesc) throws EJBDuplicateQualifierException, EJBInvalidParameterException
-
getDeclaringEnclosingType
ComposedTypeRemote getDeclaringEnclosingType()
-
changeDeclaringEnclosingType
void changeDeclaringEnclosingType(ComposedTypeRemote type) throws EJBInvalidParameterException
- Throws:
EJBInvalidParameterException
-
getEnclosingType
ComposedTypeRemote getEnclosingType()
-
setEnclosingType
void setEnclosingType(ComposedTypeRemote enclType) throws EJBInvalidParameterException
- Throws:
EJBInvalidParameterException
-
getQualifier
java.lang.String getQualifier()
- Specified by:
getQualifier
in interfaceDescriptorRemote
-
getPersistenceQualifier
java.lang.String getPersistenceQualifier()
-
getAttributeType
TypeRemote getAttributeType()
- Specified by:
getAttributeType
in interfaceDescriptorRemote
-
setAttributeType
void setAttributeType(TypeRemote type) throws EJBInvalidParameterException
- Throws:
EJBInvalidParameterException
-
getPersistenceType
AtomicTypeRemote getPersistenceType()
-
getDeclaringSuperAttributeDescriptor
AttributeDescriptorRemote getDeclaringSuperAttributeDescriptor()
-
isAssignableFrom
boolean isAssignableFrom(AttributeDescriptorRemote fd)
-
getInheritancePath
java.util.List getInheritancePath()
-
setDatabaseColumn
void setDatabaseColumn(java.lang.String col)
-
getDatabaseColumn
java.lang.String getDatabaseColumn()
-
getPersistenceClass
java.lang.Class getPersistenceClass()
-
getInheritancePathString
java.lang.String getInheritancePathString()
-
getSelectionOf
AttributeDescriptorRemote getSelectionOf()
-
setSelectionOf
void setSelectionOf(AttributeDescriptorRemote descriptor) throws EJBInvalidParameterException
- Throws:
EJBInvalidParameterException
-
getModifiers
int getModifiers()
-
setModifiers
void setModifiers(int modifiers) throws EJBInvalidParameterException
- Throws:
EJBInvalidParameterException
-
isProperty
boolean isProperty()
-
setProperty
void setProperty(boolean isProperty)
-
isLocalized
boolean isLocalized()
- Specified by:
isLocalized
in interfaceDescriptorRemote
-
setLocalized
void setLocalized(boolean localized)
-
isInherited
boolean isInherited()
-
isInitial
boolean isInitial()
-
setInitial
void setInitial(boolean init) throws EJBInvalidParameterException
- Throws:
EJBInvalidParameterException
-
isReadable
boolean isReadable()
-
setReadable
void setReadable(boolean readable) throws EJBInvalidParameterException
- Throws:
EJBInvalidParameterException
-
isWritable
boolean isWritable()
-
setWritable
void setWritable(boolean writable) throws EJBInvalidParameterException
- Throws:
EJBInvalidParameterException
-
isRemovable
boolean isRemovable()
-
setRemovable
void setRemovable(boolean removable) throws EJBInvalidParameterException
- Throws:
EJBInvalidParameterException
-
isOptional
boolean isOptional()
-
setOptional
void setOptional(boolean optional) throws EJBInvalidParameterException
- Throws:
EJBInvalidParameterException
-
isSearchable
boolean isSearchable()
-
setSearchable
void setSearchable(boolean search) throws EJBInvalidParameterException
- Throws:
EJBInvalidParameterException
-
isPartOf
boolean isPartOf()
-
setPartOf
void setPartOf(boolean part) throws EJBInvalidParameterException
- Throws:
EJBInvalidParameterException
-
isPrivate
boolean isPrivate()
-
setPrivate
void setPrivate(boolean priv) throws EJBInvalidParameterException
- Throws:
EJBInvalidParameterException
-
dontOptimize
boolean dontOptimize()
-
setDontOptimize
void setDontOptimize(boolean dontopt) throws EJBInvalidParameterException
- Throws:
EJBInvalidParameterException
-
setDeclared
boolean setDeclared()
changes a inherited feature into a declared one by taking its enclosing type as its new declaring enclosing type. please note that this changes the inheritance path too!- Returns:
- true if any change was made, false if the feature was already a declared one
-
-