Class TmaProductSpecTypeModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.b2ctelcoservices.model.TmaProductSpecTypeModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TmaProductCategoryModel,TmaProductLineModel
Generated model class for type TmaProductSpecType first defined at extension tuadatacommonsservices.
Represents the product specification type (GSM,TV,etc.).
- 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 relation code constant for relationTmaProdSpec2TmaProdSpecTypeRelationdefining source attributeproductSpecificationsin extensiontuadatacommonsservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTmaProductSpecType.codeattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaProductSpecType.descriptionattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaProductSpecType.productSpecificationsattribute defined at extensiontuadatacommonsservices.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.TmaProductSpecTypeModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextTmaProductSpecTypeModel(String _code) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersTmaProductSpecTypeModel(String _code, 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 TypeMethodDescriptiongetCode()Generated method - Getter of theTmaProductSpecType.codeattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaProductSpecType.descriptionattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaProductSpecType.productSpecificationsattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaProductSpecType.codeattribute defined at extensiontuadatacommonsservices.voidsetDescription(String value) Generated method - Setter ofTmaProductSpecType.descriptionattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaProductSpecType.productSpecificationsattribute defined at extensiontuadatacommonsservices.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:
-
_TMAPRODSPEC2TMAPRODSPECTYPERELATION
Generated relation code constant for relationTmaProdSpec2TmaProdSpecTypeRelationdefining source attributeproductSpecificationsin extensiontuadatacommonsservices.- See Also:
-
CODE
Generated constant - Attribute key ofTmaProductSpecType.codeattribute defined at extensiontuadatacommonsservices.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofTmaProductSpecType.descriptionattribute defined at extensiontuadatacommonsservices.- See Also:
-
PRODUCTSPECIFICATIONS
Generated constant - Attribute key ofTmaProductSpecType.productSpecificationsattribute defined at extensiontuadatacommonsservices.- See Also:
-
-
Constructor Details
-
TmaProductSpecTypeModel
public TmaProductSpecTypeModel()Generated constructor - Default constructor for generic creation. -
TmaProductSpecTypeModel
public TmaProductSpecTypeModel(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
-
TmaProductSpecTypeModel
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 typeTmaProductSpecTypeat extensiontuadatacommonsservices
-
TmaProductSpecTypeModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaProductSpecTypeModel(String _code, 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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code- initial attribute declared by typeTmaProductSpecTypeat extensiontuadatacommonsservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCode
Generated method - Getter of theTmaProductSpecType.codeattribute defined at extensiontuadatacommonsservices.- Returns:
- the code
-
getDescription
Generated method - Getter of theTmaProductSpecType.descriptionattribute defined at extensiontuadatacommonsservices.- Returns:
- the description - Description of the Product Specification Type.
-
getProductSpecifications
@Accessor(qualifier="productSpecifications", type=GETTER) public Set<TmaProductSpecificationModel> getProductSpecifications()Generated method - Getter of theTmaProductSpecType.productSpecificationsattribute defined at extensiontuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the productSpecifications - The product specifications that contain this type
-
setCode
Generated method - Setter ofTmaProductSpecType.codeattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the code
-
setDescription
Generated method - Setter ofTmaProductSpecType.descriptionattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the description - Description of the Product Specification Type.
-
setProductSpecifications
@Accessor(qualifier="productSpecifications", type=SETTER) public void setProductSpecifications(Set<TmaProductSpecificationModel> value) Generated method - Setter ofTmaProductSpecType.productSpecificationsattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the productSpecifications - The product specifications that contain this type
-