Class TmaPscvPolicyStatementModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.b2ctelcoservices.model.TmaPolicyStatementModel
-
- de.hybris.platform.b2ctelcoservices.model.TmaPscvPolicyStatementModel
-
- All Implemented Interfaces:
java.io.Serializable
public class TmaPscvPolicyStatementModel extends TmaPolicyStatementModel
Generated model class for type TmaPscvPolicyStatement first defined at extension b2ctelcoservices.Policy statement defined for a product specification characteristic value.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringPRODUCTSPECCHARACTERISTICGenerated constant - Attribute key ofTmaPscvPolicyStatement.productSpecCharacteristicattribute defined at extensionb2ctelcoservices.static java.lang.StringUNITOFMEASUREGenerated constant - Attribute key ofTmaPscvPolicyStatement.unitOfMeasureattribute defined at extensionb2ctelcoservices.static java.lang.StringVALUEMAXGenerated constant - Attribute key ofTmaPscvPolicyStatement.valueMaxattribute defined at extensionb2ctelcoservices.static java.lang.StringVALUEMINGenerated constant - Attribute key ofTmaPscvPolicyStatement.valueMinattribute defined at extensionb2ctelcoservices.-
Fields inherited from class de.hybris.platform.b2ctelcoservices.model.TmaPolicyStatementModel
ACTIONS, CATALOGVERSION, CODE, CONDITIONS, MAX, MIN, NAME
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
-
Constructor Summary
Constructors Constructor Description TmaPscvPolicyStatementModel()Generated constructor - Default constructor for generic creation.TmaPscvPolicyStatementModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextTmaPscvPolicyStatementModel(java.lang.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 parametersTmaPscvPolicyStatementModel(java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TmaProductSpecCharacteristicModelgetProductSpecCharacteristic()Generated method - Getter of theTmaPscvPolicyStatement.productSpecCharacteristicattribute defined at extensionb2ctelcoservices.UsageUnitModelgetUnitOfMeasure()Generated method - Getter of theTmaPscvPolicyStatement.unitOfMeasureattribute defined at extensionb2ctelcoservices.java.lang.StringgetValueMax()Generated method - Getter of theTmaPscvPolicyStatement.valueMaxattribute defined at extensionb2ctelcoservices.java.lang.StringgetValueMin()Generated method - Getter of theTmaPscvPolicyStatement.valueMinattribute defined at extensionb2ctelcoservices.voidsetProductSpecCharacteristic(TmaProductSpecCharacteristicModel value)Generated method - Setter ofTmaPscvPolicyStatement.productSpecCharacteristicattribute defined at extensionb2ctelcoservices.voidsetUnitOfMeasure(UsageUnitModel value)Generated method - Setter ofTmaPscvPolicyStatement.unitOfMeasureattribute defined at extensionb2ctelcoservices.voidsetValueMax(java.lang.String value)Generated method - Setter ofTmaPscvPolicyStatement.valueMaxattribute defined at extensionb2ctelcoservices.voidsetValueMin(java.lang.String value)Generated method - Setter ofTmaPscvPolicyStatement.valueMinattribute defined at extensionb2ctelcoservices.-
Methods inherited from class de.hybris.platform.b2ctelcoservices.model.TmaPolicyStatementModel
getActions, getCatalogVersion, getCode, getConditions, getMax, getMin, getName, getName, setActions, setCatalogVersion, setCode, setConditions, setMax, setMin, 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
-
PRODUCTSPECCHARACTERISTIC
public static final java.lang.String PRODUCTSPECCHARACTERISTIC
Generated constant - Attribute key ofTmaPscvPolicyStatement.productSpecCharacteristicattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
VALUEMIN
public static final java.lang.String VALUEMIN
Generated constant - Attribute key ofTmaPscvPolicyStatement.valueMinattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
VALUEMAX
public static final java.lang.String VALUEMAX
Generated constant - Attribute key ofTmaPscvPolicyStatement.valueMaxattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
UNITOFMEASURE
public static final java.lang.String UNITOFMEASURE
Generated constant - Attribute key ofTmaPscvPolicyStatement.unitOfMeasureattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TmaPscvPolicyStatementModel
public TmaPscvPolicyStatementModel()
Generated constructor - Default constructor for generic creation.
-
TmaPscvPolicyStatementModel
public TmaPscvPolicyStatementModel(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
-
TmaPscvPolicyStatementModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaPscvPolicyStatementModel(java.lang.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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code- initial attribute declared by typeTmaPolicyStatementat extensionb2ctelcoservices
-
TmaPscvPolicyStatementModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaPscvPolicyStatementModel(java.lang.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 typeTmaPolicyStatementat extensionb2ctelcoservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getProductSpecCharacteristic
@Accessor(qualifier="productSpecCharacteristic", type=GETTER) public TmaProductSpecCharacteristicModel getProductSpecCharacteristic()Generated method - Getter of theTmaPscvPolicyStatement.productSpecCharacteristicattribute defined at extensionb2ctelcoservices.- Returns:
- the productSpecCharacteristic - The product specification characteristic for which the policy statement has been defined.
-
getUnitOfMeasure
@Accessor(qualifier="unitOfMeasure", type=GETTER) public UsageUnitModel getUnitOfMeasure()Generated method - Getter of theTmaPscvPolicyStatement.unitOfMeasureattribute defined at extensionb2ctelcoservices.- Returns:
- the unitOfMeasure - The measure unit of the value.
-
getValueMax
@Accessor(qualifier="valueMax", type=GETTER) public java.lang.String getValueMax()Generated method - Getter of theTmaPscvPolicyStatement.valueMaxattribute defined at extensionb2ctelcoservices.- Returns:
- the valueMax - The value against which the product specification characteristic value is compared. For non-numeric value this is ignored (min is actually used) Value type will be inherited from Pscv for comparison.
-
getValueMin
@Accessor(qualifier="valueMin", type=GETTER) public java.lang.String getValueMin()Generated method - Getter of theTmaPscvPolicyStatement.valueMinattribute defined at extensionb2ctelcoservices.- Returns:
- the valueMin - The value against which the product specification characteristic value is compared. For numeric values this is considered the minimum. For other values this value is the one used for comparison. Value type will be inherited from Pscv for comparison.
-
setProductSpecCharacteristic
@Accessor(qualifier="productSpecCharacteristic", type=SETTER) public void setProductSpecCharacteristic(TmaProductSpecCharacteristicModel value)Generated method - Setter ofTmaPscvPolicyStatement.productSpecCharacteristicattribute defined at extensionb2ctelcoservices.- Parameters:
value- the productSpecCharacteristic - The product specification characteristic for which the policy statement has been defined.
-
setUnitOfMeasure
@Accessor(qualifier="unitOfMeasure", type=SETTER) public void setUnitOfMeasure(UsageUnitModel value)Generated method - Setter ofTmaPscvPolicyStatement.unitOfMeasureattribute defined at extensionb2ctelcoservices.- Parameters:
value- the unitOfMeasure - The measure unit of the value.
-
setValueMax
@Accessor(qualifier="valueMax", type=SETTER) public void setValueMax(java.lang.String value)Generated method - Setter ofTmaPscvPolicyStatement.valueMaxattribute defined at extensionb2ctelcoservices.- Parameters:
value- the valueMax - The value against which the product specification characteristic value is compared. For non-numeric value this is ignored (min is actually used) Value type will be inherited from Pscv for comparison.
-
setValueMin
@Accessor(qualifier="valueMin", type=SETTER) public void setValueMin(java.lang.String value)Generated method - Setter ofTmaPscvPolicyStatement.valueMinattribute defined at extensionb2ctelcoservices.- Parameters:
value- the valueMin - The value against which the product specification characteristic value is compared. For numeric values this is considered the minimum. For other values this value is the one used for comparison. Value type will be inherited from Pscv for comparison.
-
-