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:
Serializable
- Direct Known Subclasses:
TmaChecklistPolicyStatementModel,TmaContractTermsPolicyStatementModel,TmaPoGroupPolicyStatementModel,TmaPoListPolicyStatementModel,TmaPoPolicyStatementModel,TmaProcessTypesPolicyStatementModel,TmaProductStatusPolicyStatementModel,TmaPscvPolicyStatementModel,TmaPsPolicyStatementModel,TmaRemainingCommittedPeriodPolicyStatementModel
Generated model class for type TmaPolicyStatement first defined at extension b2ctelcoservices.
Select m to n offerings.
- 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 ofTmaPolicyStatement.actionsattribute defined at extensionb2ctelcoservices.static final StringGenerated constant - Attribute key ofTmaPolicyStatement.catalogVersionattribute defined at extensionb2ctelcoservices.static final StringGenerated constant - Attribute key ofTmaPolicyStatement.codeattribute defined at extensionb2ctelcoservices.static final StringGenerated constant - Attribute key ofTmaPolicyStatement.conditionsattribute defined at extensionb2ctelcoservices.static final StringGenerated constant - Attribute key ofTmaPolicyStatement.maxattribute defined at extensionb2ctelcoservices.static final StringGenerated constant - Attribute key ofTmaPolicyStatement.minattribute defined at extensionb2ctelcoservices.static final StringGenerated 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, 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.TmaPolicyStatementModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextTmaPolicyStatementModel(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(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 TypeMethodDescriptionGenerated method - Getter of theTmaPolicyStatement.actionsattribute defined at extensionb2ctelcoservices.Generated method - Getter of theTmaPolicyStatement.catalogVersionattribute defined at extensionb2ctelcoservices.getCode()Generated method - Getter of theTmaPolicyStatement.codeattribute defined at extensionb2ctelcoservices.Generated method - Getter of theTmaPolicyStatement.conditionsattribute defined at extensionb2ctelcoservices.getMax()Generated method - Getter of theTmaPolicyStatement.maxattribute defined at extensionb2ctelcoservices.getMin()Generated method - Getter of theTmaPolicyStatement.minattribute defined at extensionb2ctelcoservices.getName()Generated method - Getter of theTmaPolicyStatement.nameattribute defined at extensionb2ctelcoservices.Generated method - Getter of theTmaPolicyStatement.nameattribute defined at extensionb2ctelcoservices.voidsetActions(Set<TmaPolicyActionModel> value) Generated method - Setter ofTmaPolicyStatement.actionsattribute defined at extensionb2ctelcoservices.voidGenerated method - Setter ofTmaPolicyStatement.catalogVersionattribute defined at extensionb2ctelcoservices.voidGenerated method - Initial setter ofTmaPolicyStatement.codeattribute defined at extensionb2ctelcoservices.voidsetConditions(Set<TmaPolicyConditionModel> value) Generated method - Setter ofTmaPolicyStatement.conditionsattribute defined at extensionb2ctelcoservices.voidGenerated method - Setter ofTmaPolicyStatement.maxattribute defined at extensionb2ctelcoservices.voidGenerated method - Setter ofTmaPolicyStatement.minattribute defined at extensionb2ctelcoservices.voidGenerated method - Setter ofTmaPolicyStatement.nameattribute defined at extensionb2ctelcoservices.voidGenerated 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, 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:
-
CODE
Generated constant - Attribute key ofTmaPolicyStatement.codeattribute defined at extensionb2ctelcoservices.- See Also:
-
NAME
Generated constant - Attribute key ofTmaPolicyStatement.nameattribute defined at extensionb2ctelcoservices.- See Also:
-
CATALOGVERSION
Generated constant - Attribute key ofTmaPolicyStatement.catalogVersionattribute defined at extensionb2ctelcoservices.- See Also:
-
MIN
Generated constant - Attribute key ofTmaPolicyStatement.minattribute defined at extensionb2ctelcoservices.- See Also:
-
MAX
Generated constant - Attribute key ofTmaPolicyStatement.maxattribute defined at extensionb2ctelcoservices.- See Also:
-
CONDITIONS
Generated constant - Attribute key ofTmaPolicyStatement.conditionsattribute defined at extensionb2ctelcoservices.- See Also:
-
ACTIONS
Generated constant - Attribute key ofTmaPolicyStatement.actionsattribute defined at extensionb2ctelcoservices.- See Also:
-
-
Constructor Details
-
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, 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(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 Details
-
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
Generated method - Getter of theTmaPolicyStatement.catalogVersionattribute defined at extensionb2ctelcoservices.- Returns:
- the catalogVersion - Catalog Version on which the TmaPolicyStatement is published.
-
getCode
Generated method - Getter of theTmaPolicyStatement.codeattribute defined at extensionb2ctelcoservices.- Returns:
- the code - Unique identifier of the policy statement.
-
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
Generated method - Getter of theTmaPolicyStatement.maxattribute defined at extensionb2ctelcoservices.- Returns:
- the max - Restriction for the maximum quantity required to be selected.
-
getMin
Generated method - Getter of theTmaPolicyStatement.minattribute defined at extensionb2ctelcoservices.- Returns:
- the min - Restriction for the minimum quantity required to be selected.
-
getName
Generated method - Getter of theTmaPolicyStatement.nameattribute defined at extensionb2ctelcoservices.- Returns:
- the name - Name of the policy statement.
-
getName
Generated method - Getter of theTmaPolicyStatement.nameattribute defined at extensionb2ctelcoservices.- Parameters:
loc- the value localization key- Returns:
- the name - Name of the policy statement.
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setActions
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
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(Set<TmaPolicyConditionModel> value) Generated method - Setter ofTmaPolicyStatement.conditionsattribute defined at extensionb2ctelcoservices.- Parameters:
value- the conditions - Conditions containing the associated policy statement.
-
setMax
Generated method - Setter ofTmaPolicyStatement.maxattribute defined at extensionb2ctelcoservices.- Parameters:
value- the max - Restriction for the maximum quantity required to be selected.
-
setMin
Generated method - Setter ofTmaPolicyStatement.minattribute defined at extensionb2ctelcoservices.- Parameters:
value- the min - Restriction for the minimum quantity required to be selected.
-
setName
Generated method - Setter ofTmaPolicyStatement.nameattribute defined at extensionb2ctelcoservices.- Parameters:
value- the name - Name of the policy statement.
-
setName
Generated method - Setter ofTmaPolicyStatement.nameattribute defined at extensionb2ctelcoservices.- Parameters:
value- the name - Name of the policy statement.loc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-