Class TmaServiceSpecificationModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.b2ctelcoservices.model.TmaServiceSpecificationModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
TmaCustomerFacingServiceSpecModel
public class TmaServiceSpecificationModel extends ItemModel
Generated model class for type TmaServiceSpecification first defined at extension b2ctelcoservices.Realization of product specifications as know-how and resources.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringAPPROVALSTATUSGenerated constant - Attribute key ofTmaServiceSpecification.approvalStatusattribute defined at extensionb2ctelcoservices.static java.lang.StringCATALOGVERSIONGenerated constant - Attribute key ofTmaServiceSpecification.catalogVersionattribute defined at extensionb2ctelcoservices.static java.lang.StringDESCRIPTIONGenerated constant - Attribute key ofTmaServiceSpecification.descriptionattribute defined at extensionb2ctelcoservices.static java.lang.StringIDGenerated constant - Attribute key ofTmaServiceSpecification.idattribute defined at extensionb2ctelcoservices.static java.lang.StringNAMEGenerated constant - Attribute key ofTmaServiceSpecification.nameattribute defined at extensionb2ctelcoservices.static java.lang.StringSERVICESPECCHARACTERISTICSGenerated constant - Attribute key ofTmaServiceSpecification.serviceSpecCharacteristicsattribute defined at extensionb2ctelcoservices.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
-
Constructor Summary
Constructors Constructor Description TmaServiceSpecificationModel()Generated constructor - Default constructor for generic creation.TmaServiceSpecificationModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextTmaServiceSpecificationModel(java.lang.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 parametersTmaServiceSpecificationModel(java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArticleApprovalStatusgetApprovalStatus()Generated method - Getter of theTmaServiceSpecification.approvalStatusattribute defined at extensionb2ctelcoservices.CatalogVersionModelgetCatalogVersion()Generated method - Getter of theTmaServiceSpecification.catalogVersionattribute defined at extensionb2ctelcoservices.java.lang.StringgetDescription()Generated method - Getter of theTmaServiceSpecification.descriptionattribute defined at extensionb2ctelcoservices.java.lang.StringgetDescription(java.util.Locale loc)Generated method - Getter of theTmaServiceSpecification.descriptionattribute defined at extensionb2ctelcoservices.java.lang.StringgetId()Generated method - Getter of theTmaServiceSpecification.idattribute defined at extensionb2ctelcoservices.java.lang.StringgetName()Generated method - Getter of theTmaServiceSpecification.nameattribute defined at extensionb2ctelcoservices.java.lang.StringgetName(java.util.Locale loc)Generated method - Getter of theTmaServiceSpecification.nameattribute defined at extensionb2ctelcoservices.java.util.Set<TmaServiceSpecCharacteristicModel>getServiceSpecCharacteristics()Generated method - Getter of theTmaServiceSpecification.serviceSpecCharacteristicsattribute defined at extensionb2ctelcoservices.voidsetApprovalStatus(ArticleApprovalStatus value)Generated method - Setter ofTmaServiceSpecification.approvalStatusattribute defined at extensionb2ctelcoservices.voidsetCatalogVersion(CatalogVersionModel value)Generated method - Setter ofTmaServiceSpecification.catalogVersionattribute defined at extensionb2ctelcoservices.voidsetDescription(java.lang.String value)Generated method - Setter ofTmaServiceSpecification.descriptionattribute defined at extensionb2ctelcoservices.voidsetDescription(java.lang.String value, java.util.Locale loc)Generated method - Setter ofTmaServiceSpecification.descriptionattribute defined at extensionb2ctelcoservices.voidsetId(java.lang.String value)Generated method - Initial setter ofTmaServiceSpecification.idattribute defined at extensionb2ctelcoservices.voidsetName(java.lang.String value)Generated method - Setter ofTmaServiceSpecification.nameattribute defined at extensionb2ctelcoservices.voidsetName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofTmaServiceSpecification.nameattribute defined at extensionb2ctelcoservices.voidsetServiceSpecCharacteristics(java.util.Set<TmaServiceSpecCharacteristicModel> value)Generated method - Setter ofTmaServiceSpecification.serviceSpecCharacteristicsattribute defined at extensionb2ctelcoservices.-
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
-
ID
public static final java.lang.String ID
Generated constant - Attribute key ofTmaServiceSpecification.idattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofTmaServiceSpecification.catalogVersionattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofTmaServiceSpecification.nameattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofTmaServiceSpecification.descriptionattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
APPROVALSTATUS
public static final java.lang.String APPROVALSTATUS
Generated constant - Attribute key ofTmaServiceSpecification.approvalStatusattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
SERVICESPECCHARACTERISTICS
public static final java.lang.String SERVICESPECCHARACTERISTICS
Generated constant - Attribute key ofTmaServiceSpecification.serviceSpecCharacteristicsattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TmaServiceSpecificationModel
public TmaServiceSpecificationModel()
Generated constructor - Default constructor for generic creation.
-
TmaServiceSpecificationModel
public TmaServiceSpecificationModel(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
-
TmaServiceSpecificationModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaServiceSpecificationModel(java.lang.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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_id- initial attribute declared by typeTmaServiceSpecificationat extensionb2ctelcoservices
-
TmaServiceSpecificationModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaServiceSpecificationModel(java.lang.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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_id- initial attribute declared by typeTmaServiceSpecificationat extensionb2ctelcoservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getApprovalStatus
@Accessor(qualifier="approvalStatus", type=GETTER) public ArticleApprovalStatus getApprovalStatus()Generated method - Getter of theTmaServiceSpecification.approvalStatusattribute defined at extensionb2ctelcoservices.- Returns:
- the approvalStatus - Current approval status of the Service Specification.
-
getCatalogVersion
@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()Generated method - Getter of theTmaServiceSpecification.catalogVersionattribute defined at extensionb2ctelcoservices.- Returns:
- the catalogVersion - Catalog Version on which the Service Specification is published.
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()Generated method - Getter of theTmaServiceSpecification.descriptionattribute defined at extensionb2ctelcoservices.- Returns:
- the description - The description of the Service Specification.
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)Generated method - Getter of theTmaServiceSpecification.descriptionattribute defined at extensionb2ctelcoservices.- Parameters:
loc- the value localization key- Returns:
- the description - The description of the Service Specification.
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getId
@Accessor(qualifier="id", type=GETTER) public java.lang.String getId()Generated method - Getter of theTmaServiceSpecification.idattribute defined at extensionb2ctelcoservices.- Returns:
- the id - Unique identifier of the Service Specification.
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()Generated method - Getter of theTmaServiceSpecification.nameattribute defined at extensionb2ctelcoservices.- Returns:
- the name - Name of the Service Specification.
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)Generated method - Getter of theTmaServiceSpecification.nameattribute defined at extensionb2ctelcoservices.- Parameters:
loc- the value localization key- Returns:
- the name - Name of the Service Specification.
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getServiceSpecCharacteristics
@Accessor(qualifier="serviceSpecCharacteristics", type=GETTER) public java.util.Set<TmaServiceSpecCharacteristicModel> getServiceSpecCharacteristics()Generated method - Getter of theTmaServiceSpecification.serviceSpecCharacteristicsattribute defined at extensionb2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the serviceSpecCharacteristics - Service Spec Characteristics which are valid for the related Service Specifications.
-
setApprovalStatus
@Accessor(qualifier="approvalStatus", type=SETTER) public void setApprovalStatus(ArticleApprovalStatus value)Generated method - Setter ofTmaServiceSpecification.approvalStatusattribute defined at extensionb2ctelcoservices.- Parameters:
value- the approvalStatus - Current approval status of the Service Specification.
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)Generated method - Setter ofTmaServiceSpecification.catalogVersionattribute defined at extensionb2ctelcoservices.- Parameters:
value- the catalogVersion - Catalog Version on which the Service Specification is published.
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)Generated method - Setter ofTmaServiceSpecification.descriptionattribute defined at extensionb2ctelcoservices.- Parameters:
value- the description - The description of the Service Specification.
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)Generated method - Setter ofTmaServiceSpecification.descriptionattribute defined at extensionb2ctelcoservices.- Parameters:
value- the description - The description of the Service Specification.loc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setId
@Accessor(qualifier="id", type=SETTER) public void setId(java.lang.String value)Generated method - Initial setter ofTmaServiceSpecification.idattribute defined at extensionb2ctelcoservices. Can only be used at creation of model - before first save.- Parameters:
value- the id - Unique identifier of the Service Specification.
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)Generated method - Setter ofTmaServiceSpecification.nameattribute defined at extensionb2ctelcoservices.- Parameters:
value- the name - Name of the Service Specification.
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofTmaServiceSpecification.nameattribute defined at extensionb2ctelcoservices.- Parameters:
value- the name - Name of the Service Specification.loc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setServiceSpecCharacteristics
@Accessor(qualifier="serviceSpecCharacteristics", type=SETTER) public void setServiceSpecCharacteristics(java.util.Set<TmaServiceSpecCharacteristicModel> value)Generated method - Setter ofTmaServiceSpecification.serviceSpecCharacteristicsattribute defined at extensionb2ctelcoservices.- Parameters:
value- the serviceSpecCharacteristics - Service Spec Characteristics which are valid for the related Service Specifications.
-
-