Class TuaDurationModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.tuadatamodel.model.TuaDurationModel
- All Implemented Interfaces:
Serializable
Generated model class for type TuaDuration first defined at extension tuadatamodel.
Duration.
- 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 ofTuaDuration.amountattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaDuration.externalIdentifiersattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaDuration.idattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaDuration.unitsattribute defined at extensiontuadatamodel.Fields 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.TuaDurationModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextTuaDurationModel(String _id) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersTuaDurationModel(String _id, ItemModel _owner) 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 theTuaDuration.amountattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaDuration.externalIdentifiersattribute defined at extensiontuadatamodel.getId()Generated method - Getter of theTuaDuration.idattribute defined at extensiontuadatamodel.getUnits()Generated method - Getter of theTuaDuration.unitsattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaDuration.amountattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaDuration.externalIdentifiersattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaDuration.idattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaDuration.unitsattribute defined at extensiontuadatamodel.Methods 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:
-
ID
Generated constant - Attribute key ofTuaDuration.idattribute defined at extensiontuadatamodel.- See Also:
-
UNITS
Generated constant - Attribute key ofTuaDuration.unitsattribute defined at extensiontuadatamodel.- See Also:
-
AMOUNT
Generated constant - Attribute key ofTuaDuration.amountattribute defined at extensiontuadatamodel.- See Also:
-
EXTERNALIDENTIFIERS
Generated constant - Attribute key ofTuaDuration.externalIdentifiersattribute defined at extensiontuadatamodel.- See Also:
-
-
Constructor Details
-
TuaDurationModel
public TuaDurationModel()Generated constructor - Default constructor for generic creation. -
TuaDurationModel
public TuaDurationModel(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
-
TuaDurationModel
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:
_id- initial attribute declared by typeTuaDurationat extensiontuadatamodel
-
TuaDurationModel
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:
_id- initial attribute declared by typeTuaDurationat extensiontuadatamodel_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getAmount
Generated method - Getter of theTuaDuration.amountattribute defined at extensiontuadatamodel.- Returns:
- the amount - The amount of the duration.
-
getExternalIdentifiers
@Accessor(qualifier="externalIdentifiers", type=GETTER) public List<TuaExternalIdentifierModel> getExternalIdentifiers()Generated method - Getter of theTuaDuration.externalIdentifiersattribute defined at extensiontuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the externalIdentifiers
-
getId
Generated method - Getter of theTuaDuration.idattribute defined at extensiontuadatamodel.- Returns:
- the id - Unique Identifier
-
getUnits
Generated method - Getter of theTuaDuration.unitsattribute defined at extensiontuadatamodel.- Returns:
- the units - The units of the duration
-
setAmount
Generated method - Setter ofTuaDuration.amountattribute defined at extensiontuadatamodel.- Parameters:
value- the amount - The amount of the duration.
-
setExternalIdentifiers
@Accessor(qualifier="externalIdentifiers", type=SETTER) public void setExternalIdentifiers(List<TuaExternalIdentifierModel> value) Generated method - Setter ofTuaDuration.externalIdentifiersattribute defined at extensiontuadatamodel.- Parameters:
value- the externalIdentifiers
-
setId
Generated method - Setter ofTuaDuration.idattribute defined at extensiontuadatamodel.- Parameters:
value- the id - Unique Identifier
-
setUnits
Generated method - Setter ofTuaDuration.unitsattribute defined at extensiontuadatamodel.- Parameters:
value- the units - The units of the duration
-