Class AtomicTypeModel
- 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.TypeModel
-
- de.hybris.platform.core.model.type.AtomicTypeModel
-
- All Implemented Interfaces:
java.io.Serializable
public class AtomicTypeModel extends TypeModel
Generated model class for type AtomicType 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_TYPECODEGenerated model type code constant.static java.lang.StringINHERITANCEPATHSTRINGGenerated constant - Attribute key ofAtomicType.inheritancePathStringattribute defined at extensioncore.static java.lang.StringJAVACLASSGenerated constant - Attribute key ofAtomicType.javaClassattribute defined at extensioncore.static java.lang.StringSUBTYPESGenerated constant - Attribute key ofAtomicType.subtypesattribute defined at extensioncore.static java.lang.StringSUPERTYPEGenerated constant - Attribute key ofAtomicType.superTypeattribute defined at extensioncore.-
Fields inherited from class de.hybris.platform.core.model.type.TypeModel
CODE, DEFAULTVALUE, DESCRIPTION, XMLDEFINITION
-
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 AtomicTypeModel()Generated constructor - Default constructor for generic creation.AtomicTypeModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextAtomicTypeModel(java.lang.String _code, java.lang.Boolean _generate, java.lang.Class _javaClass)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersAtomicTypeModel(java.lang.String _code, java.lang.Boolean _generate, java.lang.Class _javaClass, ItemModel _owner, AtomicTypeModel _superType)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ClassgetJavaClass()Generated method - Getter of theAtomicType.javaClassattribute defined at extensioncore.java.util.Collection<AtomicTypeModel>getSubtypes()Generated method - Getter of theAtomicType.subtypesattribute defined at extensioncore.AtomicTypeModelgetSuperType()Generated method - Getter of theAtomicType.superTypeattribute defined at extensioncore.voidsetJavaClass(java.lang.Class value)Generated method - Initial setter ofAtomicType.javaClassattribute defined at extensioncore.voidsetSuperType(AtomicTypeModel value)Generated method - Initial setter ofAtomicType.superTypeattribute defined at extensioncore.-
Methods inherited from class de.hybris.platform.core.model.type.TypeModel
getCode, getDefaultValue, getDescription, getDescription, getXmldefinition, setCode, setDefaultValue, setDescription, setDescription
-
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
-
INHERITANCEPATHSTRING
public static final java.lang.String INHERITANCEPATHSTRING
Generated constant - Attribute key ofAtomicType.inheritancePathStringattribute defined at extensioncore.- See Also:
- Constant Field Values
-
JAVACLASS
public static final java.lang.String JAVACLASS
Generated constant - Attribute key ofAtomicType.javaClassattribute defined at extensioncore.- See Also:
- Constant Field Values
-
SUBTYPES
public static final java.lang.String SUBTYPES
Generated constant - Attribute key ofAtomicType.subtypesattribute defined at extensioncore.- See Also:
- Constant Field Values
-
SUPERTYPE
public static final java.lang.String SUPERTYPE
Generated constant - Attribute key ofAtomicType.superTypeattribute defined at extensioncore.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AtomicTypeModel
public AtomicTypeModel()
Generated constructor - Default constructor for generic creation.
-
AtomicTypeModel
public AtomicTypeModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
AtomicTypeModel
@Deprecated(since="4.1.1", forRemoval=true) public AtomicTypeModel(java.lang.String _code, java.lang.Boolean _generate, java.lang.Class _javaClass)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:
_code- initial attribute declared by typeAtomicTypeat extensioncore_generate- initial attribute declared by typeTypeManagerManagedat extensioncore_javaClass- initial attribute declared by typeAtomicTypeat extensioncore
-
AtomicTypeModel
@Deprecated(since="4.1.1", forRemoval=true) public AtomicTypeModel(java.lang.String _code, java.lang.Boolean _generate, java.lang.Class _javaClass, ItemModel _owner, AtomicTypeModel _superType)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:
_code- initial attribute declared by typeAtomicTypeat extensioncore_generate- initial attribute declared by typeTypeManagerManagedat extensioncore_javaClass- initial attribute declared by typeAtomicTypeat extensioncore_owner- initial attribute declared by typeItemat extensioncore_superType- initial attribute declared by typeAtomicTypeat extensioncore
-
-
Method Detail
-
getJavaClass
@Accessor(qualifier="javaClass", type=GETTER) public java.lang.Class getJavaClass()
Generated method - Getter of theAtomicType.javaClassattribute defined at extensioncore.- Returns:
- the javaClass
-
getSubtypes
@Accessor(qualifier="subtypes", type=GETTER) public java.util.Collection<AtomicTypeModel> getSubtypes()
Generated method - Getter of theAtomicType.subtypesattribute defined at extensioncore. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the subtypes
-
getSuperType
@Accessor(qualifier="superType", type=GETTER) public AtomicTypeModel getSuperType()
Generated method - Getter of theAtomicType.superTypeattribute defined at extensioncore.- Returns:
- the superType
-
setJavaClass
@Accessor(qualifier="javaClass", type=SETTER) public void setJavaClass(java.lang.Class value)
Generated method - Initial setter ofAtomicType.javaClassattribute defined at extensioncore. Can only be used at creation of model - before first save.- Parameters:
value- the javaClass
-
setSuperType
@Accessor(qualifier="superType", type=SETTER) public void setSuperType(AtomicTypeModel value)
Generated method - Initial setter ofAtomicType.superTypeattribute defined at extensioncore. Can only be used at creation of model - before first save.- Parameters:
value- the superType
-
-