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:
java.io.Serializable
public class TmaPolicyActionModel extends ItemModel
Generated model class for type TmaPolicyAction first defined at extension b2ctelcoservices.Policy action that should be taken for a compatibility policy.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TMACOMPATIBILITYPOLICY2TMAPOLICYACTIONRELATIONGenerated relation code constant for relationTmaCompatibilityPolicy2TmaPolicyActionRelationdefining source attributepoliciesin extensionb2ctelcoservices.static java.lang.String_TMAPOLICYSTATEMENT2TMAPOLICYACTIONRELATIONGenerated relation code constant for relationTmaPolicyStatement2TmaPolicyActionRelationdefining source attributestatementin extensionb2ctelcoservices.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringACTIONTYPEGenerated constant - Attribute key ofTmaPolicyAction.actionTypeattribute defined at extensionb2ctelcoservices.static java.lang.StringCATALOGVERSIONGenerated constant - Attribute key ofTmaPolicyAction.catalogVersionattribute defined at extensionb2ctelcoservices.static java.lang.StringCODEGenerated constant - Attribute key ofTmaPolicyAction.codeattribute defined at extensionb2ctelcoservices.static java.lang.StringPOLICIESGenerated constant - Attribute key ofTmaPolicyAction.policiesattribute defined at extensionb2ctelcoservices.static java.lang.StringSTATEMENTGenerated 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, SEALED
-
-
Constructor Summary
Constructors Constructor Description TmaPolicyActionModel()Generated constructor - Default constructor for generic creation.TmaPolicyActionModel(TmaCompatibilityPolicyActionType _actionType, 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 parametersTmaPolicyActionModel(TmaCompatibilityPolicyActionType _actionType, 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 parametersTmaPolicyActionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TmaCompatibilityPolicyActionTypegetActionType()Generated method - Getter of theTmaPolicyAction.actionTypeattribute defined at extensionb2ctelcoservices.CatalogVersionModelgetCatalogVersion()Generated method - Getter of theTmaPolicyAction.catalogVersionattribute defined at extensionb2ctelcoservices.java.lang.StringgetCode()Generated method - Getter of theTmaPolicyAction.codeattribute defined at extensionb2ctelcoservices.java.util.Set<TmaCompatibilityPolicyModel>getPolicies()Generated method - Getter of theTmaPolicyAction.policiesattribute defined at extensionb2ctelcoservices.TmaPolicyStatementModelgetStatement()Generated method - Getter of theTmaPolicyAction.statementattribute defined at extensionb2ctelcoservices.voidsetActionType(TmaCompatibilityPolicyActionType value)Generated method - Setter ofTmaPolicyAction.actionTypeattribute defined at extensionb2ctelcoservices.voidsetCatalogVersion(CatalogVersionModel value)Generated method - Setter ofTmaPolicyAction.catalogVersionattribute defined at extensionb2ctelcoservices.voidsetCode(java.lang.String value)Generated method - Setter ofTmaPolicyAction.codeattribute defined at extensionb2ctelcoservices.voidsetPolicies(java.util.Set<TmaCompatibilityPolicyModel> value)Generated method - Setter ofTmaPolicyAction.policiesattribute defined at extensionb2ctelcoservices.voidsetStatement(TmaPolicyStatementModel value)Generated 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, 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
-
_TMACOMPATIBILITYPOLICY2TMAPOLICYACTIONRELATION
public static final java.lang.String _TMACOMPATIBILITYPOLICY2TMAPOLICYACTIONRELATION
Generated relation code constant for relationTmaCompatibilityPolicy2TmaPolicyActionRelationdefining source attributepoliciesin extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
_TMAPOLICYSTATEMENT2TMAPOLICYACTIONRELATION
public static final java.lang.String _TMAPOLICYSTATEMENT2TMAPOLICYACTIONRELATION
Generated relation code constant for relationTmaPolicyStatement2TmaPolicyActionRelationdefining source attributestatementin extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofTmaPolicyAction.codeattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofTmaPolicyAction.catalogVersionattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
ACTIONTYPE
public static final java.lang.String ACTIONTYPE
Generated constant - Attribute key ofTmaPolicyAction.actionTypeattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
POLICIES
public static final java.lang.String POLICIES
Generated constant - Attribute key ofTmaPolicyAction.policiesattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
STATEMENT
public static final java.lang.String STATEMENT
Generated constant - Attribute key ofTmaPolicyAction.statementattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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, 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:
_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, 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:
_actionType- initial attribute declared by typeTmaPolicyActionat extensionb2ctelcoservices_code- initial attribute declared by typeTmaPolicyActionat extensionb2ctelcoservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
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
@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()Generated method - Getter of theTmaPolicyAction.catalogVersionattribute defined at extensionb2ctelcoservices.- Returns:
- the catalogVersion - Catalog Version on which the TmaPolicyAction is published.
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()Generated method - Getter of theTmaPolicyAction.codeattribute defined at extensionb2ctelcoservices.- Returns:
- the code - Unique identifier of the policy action.
-
getPolicies
@Accessor(qualifier="policies", type=GETTER) public java.util.Set<TmaCompatibilityPolicyModel> 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
@Accessor(qualifier="statement", type=GETTER) public TmaPolicyStatementModel 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
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)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(java.util.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.
-
-