Class RelationDescriptorModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.core.model.type.TypeManagerManagedModel
-
- de.hybris.platform.core.model.type.DescriptorModel
-
- de.hybris.platform.core.model.type.AttributeDescriptorModel
-
- de.hybris.platform.core.model.type.RelationDescriptorModel
-
- All Implemented Interfaces:
java.io.Serializable
public class RelationDescriptorModel extends AttributeDescriptorModel
Generated model class for type RelationDescriptor first defined at extension core.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
ISSOURCE
Generated constant - Attribute key ofRelationDescriptor.isSource
attribute defined at extensioncore
.static java.lang.String
ORDERED
Generated constant - Attribute key ofRelationDescriptor.ordered
attribute defined at extensioncore
.static java.lang.String
RELATIONNAME
Generated constant - Attribute key ofRelationDescriptor.relationName
attribute defined at extensioncore
.static java.lang.String
RELATIONTYPE
Generated constant - Attribute key ofRelationDescriptor.relationType
attribute defined at extensioncore
.-
Fields inherited from class de.hybris.platform.core.model.type.AttributeDescriptorModel
_ATTRIBUTECONSTRAINTATTRIBUTEDESCRELATION, ATTRIBUTEHANDLER, CONSTRAINTS, DATABASECOLUMN, DECLARINGENCLOSINGTYPE, DEFAULTVALUE, DEFAULTVALUEDEFINITIONSTRING, DESCRIPTION, DONTCOPY, ENCLOSINGTYPE, ENCRYPTED, HIDDENFORUI, INITIAL, LOCALIZED, MODIFIERS, OPTIONAL, PARTOF, PERSISTENCECLASS, PERSISTENCEQUALIFIER, PERSISTENCETYPE, PRIMITIVE, PRIVATE, PROPERTY, PROPOSEDDATABASECOLUMN, READABLE, READONLYFORUI, REMOVABLE, SEARCH, SELECTIONOF, UNIQUE, WRITABLE
-
Fields inherited from class de.hybris.platform.core.model.type.DescriptorModel
ATTRIBUTETYPE, QUALIFIER
-
Fields inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
AUTOCREATE, DEPRECATED, EXTENSIONNAME, GENERATE, NAME
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description RelationDescriptorModel()
Generated constructor - Default constructor for generic creation.RelationDescriptorModel(TypeModel _attributeType, ComposedTypeModel _enclosingType, java.lang.Boolean _generate, ItemModel _owner, java.lang.Boolean _partOf, java.lang.String _qualifier)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersRelationDescriptorModel(TypeModel _attributeType, ComposedTypeModel _enclosingType, java.lang.Boolean _generate, java.lang.Boolean _partOf, java.lang.String _qualifier)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersRelationDescriptorModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
getIsSource()
Generated method - Getter of theRelationDescriptor.isSource
attribute defined at extensioncore
.java.lang.Boolean
getOrdered()
Generated method - Getter of theRelationDescriptor.ordered
attribute defined at extensioncore
.java.lang.String
getRelationName()
Generated method - Getter of theRelationDescriptor.relationName
attribute defined at extensioncore
.RelationMetaTypeModel
getRelationType()
Generated method - Getter of theRelationDescriptor.relationType
attribute defined at extensioncore
.-
Methods inherited from class de.hybris.platform.core.model.type.AttributeDescriptorModel
getAttributeHandler, getConstraints, getDatabaseColumn, getDeclaringEnclosingType, getDefaultValue, getDescription, getDescription, getDontCopy, getEnclosingType, getEncrypted, getHiddenForUI, getInitial, getLocalized, getModifiers, getOptional, getPartOf, getPersistenceClass, getPrimitive, getPrivate, getProperty, getProposedDatabaseColumn, getReadable, getReadOnlyForUI, getRemovable, getSearch, getSelectionOf, getUnique, getWritable, setAttributeHandler, setConstraints, setDatabaseColumn, setDefaultValue, setDescription, setDescription, setDontCopy, setEnclosingType, setEncrypted, setHiddenForUI, setInitial, setModifiers, setOptional, setPartOf, setPrimitive, setPrivate, setProperty, setReadable, setReadOnlyForUI, setRemovable, setSearch, setUnique, setWritable
-
Methods inherited from class de.hybris.platform.core.model.type.DescriptorModel
getAttributeType, getQualifier, setAttributeType, setQualifier
-
Methods inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
getAutocreate, getDeprecated, getExtensionName, getGenerate, getName, getName, setAutocreate, setExtensionName, setGenerate, setName, setName
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
ISSOURCE
public static final java.lang.String ISSOURCE
Generated constant - Attribute key ofRelationDescriptor.isSource
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
ORDERED
public static final java.lang.String ORDERED
Generated constant - Attribute key ofRelationDescriptor.ordered
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
RELATIONNAME
public static final java.lang.String RELATIONNAME
Generated constant - Attribute key ofRelationDescriptor.relationName
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
RELATIONTYPE
public static final java.lang.String RELATIONTYPE
Generated constant - Attribute key ofRelationDescriptor.relationType
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RelationDescriptorModel
public RelationDescriptorModel()
Generated constructor - Default constructor for generic creation.
-
RelationDescriptorModel
public RelationDescriptorModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
RelationDescriptorModel
@Deprecated(since="4.1.1", forRemoval=true) public RelationDescriptorModel(TypeModel _attributeType, ComposedTypeModel _enclosingType, java.lang.Boolean _generate, java.lang.Boolean _partOf, java.lang.String _qualifier)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_attributeType
- initial attribute declared by typeDescriptor
at extensioncore
_enclosingType
- initial attribute declared by typeAttributeDescriptor
at extensioncore
_generate
- initial attribute declared by typeTypeManagerManaged
at extensioncore
_partOf
- initial attribute declared by typeAttributeDescriptor
at extensioncore
_qualifier
- initial attribute declared by typeDescriptor
at extensioncore
-
RelationDescriptorModel
@Deprecated(since="4.1.1", forRemoval=true) public RelationDescriptorModel(TypeModel _attributeType, ComposedTypeModel _enclosingType, java.lang.Boolean _generate, ItemModel _owner, java.lang.Boolean _partOf, java.lang.String _qualifier)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_attributeType
- initial attribute declared by typeDescriptor
at extensioncore
_enclosingType
- initial attribute declared by typeAttributeDescriptor
at extensioncore
_generate
- initial attribute declared by typeTypeManagerManaged
at extensioncore
_owner
- initial attribute declared by typeItem
at extensioncore
_partOf
- initial attribute declared by typeAttributeDescriptor
at extensioncore
_qualifier
- initial attribute declared by typeDescriptor
at extensioncore
-
-
Method Detail
-
getIsSource
@Accessor(qualifier="isSource", type=GETTER) public java.lang.Boolean getIsSource()
Generated method - Getter of theRelationDescriptor.isSource
attribute defined at extensioncore
.- Returns:
- the isSource
-
getOrdered
@Accessor(qualifier="ordered", type=GETTER) public java.lang.Boolean getOrdered()
Generated method - Getter of theRelationDescriptor.ordered
attribute defined at extensioncore
.- Returns:
- the ordered
-
getRelationName
@Accessor(qualifier="relationName", type=GETTER) public java.lang.String getRelationName()
Generated method - Getter of theRelationDescriptor.relationName
attribute defined at extensioncore
.- Returns:
- the relationName
-
getRelationType
@Accessor(qualifier="relationType", type=GETTER) public RelationMetaTypeModel getRelationType()
Generated method - Getter of theRelationDescriptor.relationType
attribute defined at extensioncore
.- Returns:
- the relationType
-
-