Class TmaPolicyStatementModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.b2ctelcoservices.model.TmaPolicyStatementModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
TmaChecklistPolicyStatementModel,TmaContractTermsPolicyStatementModel,TmaPoGroupPolicyStatementModel,TmaPoListPolicyStatementModel,TmaPoPolicyStatementModel,TmaProcessTypesPolicyStatementModel,TmaPscvPolicyStatementModel,TmaPsPolicyStatementModel,TmaRemainingCommittedPeriodPolicyStatementModel
public class TmaPolicyStatementModel extends ItemModel
Generated model class for type TmaPolicyStatement first defined at extension b2ctelcoservices.Select m to n offerings.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringACTIONSGenerated constant - Attribute key ofTmaPolicyStatement.actionsattribute defined at extensionb2ctelcoservices.static java.lang.StringCATALOGVERSIONGenerated constant - Attribute key ofTmaPolicyStatement.catalogVersionattribute defined at extensionb2ctelcoservices.static java.lang.StringCODEGenerated constant - Attribute key ofTmaPolicyStatement.codeattribute defined at extensionb2ctelcoservices.static java.lang.StringCONDITIONSGenerated constant - Attribute key ofTmaPolicyStatement.conditionsattribute defined at extensionb2ctelcoservices.static java.lang.StringMAXGenerated constant - Attribute key ofTmaPolicyStatement.maxattribute defined at extensionb2ctelcoservices.static java.lang.StringMINGenerated constant - Attribute key ofTmaPolicyStatement.minattribute defined at extensionb2ctelcoservices.static java.lang.StringNAMEGenerated constant - Attribute key ofTmaPolicyStatement.nameattribute 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 TmaPolicyStatementModel()Generated constructor - Default constructor for generic creation.TmaPolicyStatementModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextTmaPolicyStatementModel(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 parametersTmaPolicyStatementModel(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 java.util.Set<TmaPolicyActionModel>getActions()Generated method - Getter of theTmaPolicyStatement.actionsattribute defined at extensionb2ctelcoservices.CatalogVersionModelgetCatalogVersion()Generated method - Getter of theTmaPolicyStatement.catalogVersionattribute defined at extensionb2ctelcoservices.java.lang.StringgetCode()Generated method - Getter of theTmaPolicyStatement.codeattribute defined at extensionb2ctelcoservices.java.util.Set<TmaPolicyConditionModel>getConditions()Generated method - Getter of theTmaPolicyStatement.conditionsattribute defined at extensionb2ctelcoservices.java.lang.IntegergetMax()Generated method - Getter of theTmaPolicyStatement.maxattribute defined at extensionb2ctelcoservices.java.lang.IntegergetMin()Generated method - Getter of theTmaPolicyStatement.minattribute defined at extensionb2ctelcoservices.java.lang.StringgetName()Generated method - Getter of theTmaPolicyStatement.nameattribute defined at extensionb2ctelcoservices.java.lang.StringgetName(java.util.Locale loc)Generated method - Getter of theTmaPolicyStatement.nameattribute defined at extensionb2ctelcoservices.voidsetActions(java.util.Set<TmaPolicyActionModel> value)Generated method - Setter ofTmaPolicyStatement.actionsattribute defined at extensionb2ctelcoservices.voidsetCatalogVersion(CatalogVersionModel value)Generated method - Setter ofTmaPolicyStatement.catalogVersionattribute defined at extensionb2ctelcoservices.voidsetCode(java.lang.String value)Generated method - Initial setter ofTmaPolicyStatement.codeattribute defined at extensionb2ctelcoservices.voidsetConditions(java.util.Set<TmaPolicyConditionModel> value)Generated method - Setter ofTmaPolicyStatement.conditionsattribute defined at extensionb2ctelcoservices.voidsetMax(java.lang.Integer value)Generated method - Setter ofTmaPolicyStatement.maxattribute defined at extensionb2ctelcoservices.voidsetMin(java.lang.Integer value)Generated method - Setter ofTmaPolicyStatement.minattribute defined at extensionb2ctelcoservices.voidsetName(java.lang.String value)Generated method - Setter ofTmaPolicyStatement.nameattribute defined at extensionb2ctelcoservices.voidsetName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofTmaPolicyStatement.nameattribute 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
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofTmaPolicyStatement.codeattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofTmaPolicyStatement.nameattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofTmaPolicyStatement.catalogVersionattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
MIN
public static final java.lang.String MIN
Generated constant - Attribute key ofTmaPolicyStatement.minattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
MAX
public static final java.lang.String MAX
Generated constant - Attribute key ofTmaPolicyStatement.maxattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
CONDITIONS
public static final java.lang.String CONDITIONS
Generated constant - Attribute key ofTmaPolicyStatement.conditionsattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
ACTIONS
public static final java.lang.String ACTIONS
Generated constant - Attribute key ofTmaPolicyStatement.actionsattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TmaPolicyStatementModel
public TmaPolicyStatementModel()
Generated constructor - Default constructor for generic creation.
-
TmaPolicyStatementModel
public TmaPolicyStatementModel(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
-
TmaPolicyStatementModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaPolicyStatementModel(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
-
TmaPolicyStatementModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaPolicyStatementModel(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
-
getActions
@Accessor(qualifier="actions", type=GETTER) public java.util.Set<TmaPolicyActionModel> getActions()Generated method - Getter of theTmaPolicyStatement.actionsattribute defined at extensionb2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the actions - Policy action containing the associated policy statement.
-
getCatalogVersion
@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()Generated method - Getter of theTmaPolicyStatement.catalogVersionattribute defined at extensionb2ctelcoservices.- Returns:
- the catalogVersion - Catalog Version on which the TmaPolicyStatement is published.
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()Generated method - Getter of theTmaPolicyStatement.codeattribute defined at extensionb2ctelcoservices.- Returns:
- the code - Unique identifier of the policy statement.
-
getConditions
@Accessor(qualifier="conditions", type=GETTER) public java.util.Set<TmaPolicyConditionModel> getConditions()Generated method - Getter of theTmaPolicyStatement.conditionsattribute defined at extensionb2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the conditions - Conditions containing the associated policy statement.
-
getMax
@Accessor(qualifier="max", type=GETTER) public java.lang.Integer getMax()Generated method - Getter of theTmaPolicyStatement.maxattribute defined at extensionb2ctelcoservices.- Returns:
- the max - Restriction for the maximum quantity required to be selected.
-
getMin
@Accessor(qualifier="min", type=GETTER) public java.lang.Integer getMin()Generated method - Getter of theTmaPolicyStatement.minattribute defined at extensionb2ctelcoservices.- Returns:
- the min - Restriction for the minimum quantity required to be selected.
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()Generated method - Getter of theTmaPolicyStatement.nameattribute defined at extensionb2ctelcoservices.- Returns:
- the name - Name of the policy statement.
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)Generated method - Getter of theTmaPolicyStatement.nameattribute defined at extensionb2ctelcoservices.- Parameters:
loc- the value localization key- Returns:
- the name - Name of the policy statement.
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setActions
@Accessor(qualifier="actions", type=SETTER) public void setActions(java.util.Set<TmaPolicyActionModel> value)Generated method - Setter ofTmaPolicyStatement.actionsattribute defined at extensionb2ctelcoservices.- Parameters:
value- the actions - Policy action containing the associated policy statement.
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)Generated method - Setter ofTmaPolicyStatement.catalogVersionattribute defined at extensionb2ctelcoservices.- Parameters:
value- the catalogVersion - Catalog Version on which the TmaPolicyStatement is published.
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)Generated method - Initial setter ofTmaPolicyStatement.codeattribute defined at extensionb2ctelcoservices. Can only be used at creation of model - before first save.- Parameters:
value- the code - Unique identifier of the policy statement.
-
setConditions
@Accessor(qualifier="conditions", type=SETTER) public void setConditions(java.util.Set<TmaPolicyConditionModel> value)Generated method - Setter ofTmaPolicyStatement.conditionsattribute defined at extensionb2ctelcoservices.- Parameters:
value- the conditions - Conditions containing the associated policy statement.
-
setMax
@Accessor(qualifier="max", type=SETTER) public void setMax(java.lang.Integer value)Generated method - Setter ofTmaPolicyStatement.maxattribute defined at extensionb2ctelcoservices.- Parameters:
value- the max - Restriction for the maximum quantity required to be selected.
-
setMin
@Accessor(qualifier="min", type=SETTER) public void setMin(java.lang.Integer value)Generated method - Setter ofTmaPolicyStatement.minattribute defined at extensionb2ctelcoservices.- Parameters:
value- the min - Restriction for the minimum quantity required to be selected.
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)Generated method - Setter ofTmaPolicyStatement.nameattribute defined at extensionb2ctelcoservices.- Parameters:
value- the name - Name of the policy statement.
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofTmaPolicyStatement.nameattribute defined at extensionb2ctelcoservices.- Parameters:
value- the name - Name of the policy statement.loc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
-