Class TmaPolicyActionModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.b2ctelcoservices.model.TmaPolicyActionModel
- All Implemented Interfaces:
Serializable
Generated model class for type TmaPolicyAction first defined at extension b2ctelcoservices.
Policy action that should be taken for a compatibility policy.
- 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 relationTmaCompatibilityPolicy2TmaPolicyActionRelationdefining source attributepoliciesin extensionb2ctelcoservices.static final StringGenerated relation code constant for relationTmaPolicyStatement2TmaPolicyActionRelationdefining source attributestatementin extensionb2ctelcoservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTmaPolicyAction.actionTypeattribute defined at extensionb2ctelcoservices.static final StringGenerated constant - Attribute key ofTmaPolicyAction.catalogVersionattribute defined at extensionb2ctelcoservices.static final StringGenerated constant - Attribute key ofTmaPolicyAction.codeattribute defined at extensionb2ctelcoservices.static final StringGenerated constant - Attribute key ofTmaPolicyAction.policiesattribute defined at extensionb2ctelcoservices.static final StringGenerated constant - Attribute key ofTmaPolicyAction.statementattribute 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.TmaPolicyActionModel(TmaCompatibilityPolicyActionType _actionType, 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 parametersTmaPolicyActionModel(TmaCompatibilityPolicyActionType _actionType, 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 parametersTmaPolicyActionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theTmaPolicyAction.actionTypeattribute defined at extensionb2ctelcoservices.Generated method - Getter of theTmaPolicyAction.catalogVersionattribute defined at extensionb2ctelcoservices.getCode()Generated method - Getter of theTmaPolicyAction.codeattribute defined at extensionb2ctelcoservices.Generated method - Getter of theTmaPolicyAction.policiesattribute defined at extensionb2ctelcoservices.Generated method - Getter of theTmaPolicyAction.statementattribute defined at extensionb2ctelcoservices.voidGenerated method - Setter ofTmaPolicyAction.actionTypeattribute defined at extensionb2ctelcoservices.voidGenerated method - Setter ofTmaPolicyAction.catalogVersionattribute defined at extensionb2ctelcoservices.voidGenerated method - Setter ofTmaPolicyAction.codeattribute defined at extensionb2ctelcoservices.voidGenerated method - Setter ofTmaPolicyAction.policiesattribute defined at extensionb2ctelcoservices.voidGenerated method - Setter ofTmaPolicyAction.statementattribute 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:
-
_TMACOMPATIBILITYPOLICY2TMAPOLICYACTIONRELATION
Generated relation code constant for relationTmaCompatibilityPolicy2TmaPolicyActionRelationdefining source attributepoliciesin extensionb2ctelcoservices.- See Also:
-
_TMAPOLICYSTATEMENT2TMAPOLICYACTIONRELATION
Generated relation code constant for relationTmaPolicyStatement2TmaPolicyActionRelationdefining source attributestatementin extensionb2ctelcoservices.- See Also:
-
CODE
Generated constant - Attribute key ofTmaPolicyAction.codeattribute defined at extensionb2ctelcoservices.- See Also:
-
CATALOGVERSION
Generated constant - Attribute key ofTmaPolicyAction.catalogVersionattribute defined at extensionb2ctelcoservices.- See Also:
-
ACTIONTYPE
Generated constant - Attribute key ofTmaPolicyAction.actionTypeattribute defined at extensionb2ctelcoservices.- See Also:
-
POLICIES
Generated constant - Attribute key ofTmaPolicyAction.policiesattribute defined at extensionb2ctelcoservices.- See Also:
-
STATEMENT
Generated constant - Attribute key ofTmaPolicyAction.statementattribute defined at extensionb2ctelcoservices.- See Also:
-
-
Constructor Details
-
TmaPolicyActionModel
public TmaPolicyActionModel()Generated constructor - Default constructor for generic creation. -
TmaPolicyActionModel
public TmaPolicyActionModel(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
-
TmaPolicyActionModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaPolicyActionModel(TmaCompatibilityPolicyActionType _actionType, 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:
_actionType- initial attribute declared by typeTmaPolicyActionat extensionb2ctelcoservices_code- initial attribute declared by typeTmaPolicyActionat extensionb2ctelcoservices
-
TmaPolicyActionModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaPolicyActionModel(TmaCompatibilityPolicyActionType _actionType, 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:
_actionType- initial attribute declared by typeTmaPolicyActionat extensionb2ctelcoservices_code- initial attribute declared by typeTmaPolicyActionat extensionb2ctelcoservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getActionType
@Accessor(qualifier="actionType", type=GETTER) public TmaCompatibilityPolicyActionType getActionType()Generated method - Getter of theTmaPolicyAction.actionTypeattribute defined at extensionb2ctelcoservices.- Returns:
- the actionType - The policy action type.
-
getCatalogVersion
Generated method - Getter of theTmaPolicyAction.catalogVersionattribute defined at extensionb2ctelcoservices.- Returns:
- the catalogVersion - Catalog Version on which the TmaPolicyAction is published.
-
getCode
Generated method - Getter of theTmaPolicyAction.codeattribute defined at extensionb2ctelcoservices.- Returns:
- the code - Unique identifier of the policy action.
-
getPolicies
Generated method - Getter of theTmaPolicyAction.policiesattribute defined at extensionb2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the policies - Policies containing the associated actions.
-
getStatement
Generated method - Getter of theTmaPolicyAction.statementattribute defined at extensionb2ctelcoservices.- Returns:
- the statement - Policy statement defined for a policy action.
-
setActionType
@Accessor(qualifier="actionType", type=SETTER) public void setActionType(TmaCompatibilityPolicyActionType value) Generated method - Setter ofTmaPolicyAction.actionTypeattribute defined at extensionb2ctelcoservices.- Parameters:
value- the actionType - The policy action type.
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value) Generated method - Setter ofTmaPolicyAction.catalogVersionattribute defined at extensionb2ctelcoservices.- Parameters:
value- the catalogVersion - Catalog Version on which the TmaPolicyAction is published.
-
setCode
Generated method - Setter ofTmaPolicyAction.codeattribute defined at extensionb2ctelcoservices.- Parameters:
value- the code - Unique identifier of the policy action.
-
setPolicies
@Accessor(qualifier="policies", type=SETTER) public void setPolicies(Set<TmaCompatibilityPolicyModel> value) Generated method - Setter ofTmaPolicyAction.policiesattribute defined at extensionb2ctelcoservices.- Parameters:
value- the policies - Policies containing the associated actions.
-
setStatement
@Accessor(qualifier="statement", type=SETTER) public void setStatement(TmaPolicyStatementModel value) Generated method - Setter ofTmaPolicyAction.statementattribute defined at extensionb2ctelcoservices.- Parameters:
value- the statement - Policy statement defined for a policy action.
-