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:
Serializable
Generated model class for type AtomicType first defined at extension core.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofAtomicType.inheritancePathStringattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofAtomicType.javaClassattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofAtomicType.subtypesattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofAtomicType.superTypeattribute defined at extensioncore.Fields inherited from class de.hybris.platform.core.model.type.TypeModel
CODE, DEFAULTVALUE, DESCRIPTION, XMLDEFINITIONFields inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
AUTOCREATE, DEPRECATED, EXTENSIONNAME, GENERATE, NAMEFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.AtomicTypeModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextAtomicTypeModel(String _code, Boolean _generate, 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(String _code, Boolean _generate, 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
Modifier and TypeMethodDescriptionGenerated method - Getter of theAtomicType.javaClassattribute defined at extensioncore.Generated method - Getter of theAtomicType.subtypesattribute defined at extensioncore.Generated method - Getter of theAtomicType.superTypeattribute defined at extensioncore.voidsetJavaClass(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, setDescriptionMethods inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
getAutocreate, getDeprecated, getExtensionName, getGenerate, getName, getName, setAutocreate, setExtensionName, setGenerate, setName, setNameMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
INHERITANCEPATHSTRING
Generated constant - Attribute key ofAtomicType.inheritancePathStringattribute defined at extensioncore.- See Also:
-
JAVACLASS
Generated constant - Attribute key ofAtomicType.javaClassattribute defined at extensioncore.- See Also:
-
SUBTYPES
Generated constant - Attribute key ofAtomicType.subtypesattribute defined at extensioncore.- See Also:
-
SUPERTYPE
Generated constant - Attribute key ofAtomicType.superTypeattribute defined at extensioncore.- See Also:
-
-
Constructor Details
-
AtomicTypeModel
public AtomicTypeModel()Generated constructor - Default constructor for generic creation. -
AtomicTypeModel
public AtomicTypeModel(de.hybris.platform.servicelayer.model.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(String _code, Boolean _generate, 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(String _code, Boolean _generate, 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 Details
-
getJavaClass
Generated method - Getter of theAtomicType.javaClassattribute defined at extensioncore.- Returns:
- the javaClass
-
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
Generated method - Getter of theAtomicType.superTypeattribute defined at extensioncore.- Returns:
- the superType
-
setJavaClass
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
Generated method - Initial setter ofAtomicType.superTypeattribute defined at extensioncore. Can only be used at creation of model - before first save.- Parameters:
value- the superType
-