Class TmaPolicyConditionModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.b2ctelcoservices.model.TmaPolicyConditionModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TmaAtomicPolicyConditionModel,TmaCompositePolicyConditionModel
Generated model class for type TmaPolicyCondition first defined at extension b2ctelcoservices.
Compatibility conditions which specify which are the conditions in which the offering can be made available.
- 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 relationTmaCompatibilityPolicy2TmaPolicyConditionRelationdefining source attributepoliciesin extensionb2ctelcoservices.static final StringGenerated relation code constant for relationTmaCompositePolicyCondition2TmaPolicyConditiondefining source attributeparentsin extensionb2ctelcoservices.static final StringGenerated relation code constant for relationTmaPolicyStatement2TmaPolicyConditionRelationdefining source attributestatementin extensionb2ctelcoservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTmaPolicyCondition.catalogVersionattribute defined at extensionb2ctelcoservices.static final StringGenerated constant - Attribute key ofTmaPolicyCondition.codeattribute defined at extensionb2ctelcoservices.static final StringGenerated constant - Attribute key ofTmaPolicyCondition.parentsattribute defined at extensionb2ctelcoservices.static final StringGenerated constant - Attribute key ofTmaPolicyCondition.policiesattribute defined at extensionb2ctelcoservices.static final StringGenerated constant - Attribute key ofTmaPolicyCondition.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.TmaPolicyConditionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextTmaPolicyConditionModel(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 parametersTmaPolicyConditionModel(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 theTmaPolicyCondition.catalogVersionattribute defined at extensionb2ctelcoservices.getCode()Generated method - Getter of theTmaPolicyCondition.codeattribute defined at extensionb2ctelcoservices.Generated method - Getter of theTmaPolicyCondition.parentsattribute defined at extensionb2ctelcoservices.Generated method - Getter of theTmaPolicyCondition.policiesattribute defined at extensionb2ctelcoservices.Generated method - Getter of theTmaPolicyCondition.statementattribute defined at extensionb2ctelcoservices.voidGenerated method - Setter ofTmaPolicyCondition.catalogVersionattribute defined at extensionb2ctelcoservices.voidGenerated method - Setter ofTmaPolicyCondition.codeattribute defined at extensionb2ctelcoservices.voidGenerated method - Setter ofTmaPolicyCondition.parentsattribute defined at extensionb2ctelcoservices.voidGenerated method - Setter ofTmaPolicyCondition.policiesattribute defined at extensionb2ctelcoservices.voidGenerated method - Setter ofTmaPolicyCondition.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:
-
_TMACOMPATIBILITYPOLICY2TMAPOLICYCONDITIONRELATION
Generated relation code constant for relationTmaCompatibilityPolicy2TmaPolicyConditionRelationdefining source attributepoliciesin extensionb2ctelcoservices.- See Also:
-
_TMACOMPOSITEPOLICYCONDITION2TMAPOLICYCONDITION
Generated relation code constant for relationTmaCompositePolicyCondition2TmaPolicyConditiondefining source attributeparentsin extensionb2ctelcoservices.- See Also:
-
_TMAPOLICYSTATEMENT2TMAPOLICYCONDITIONRELATION
Generated relation code constant for relationTmaPolicyStatement2TmaPolicyConditionRelationdefining source attributestatementin extensionb2ctelcoservices.- See Also:
-
CODE
Generated constant - Attribute key ofTmaPolicyCondition.codeattribute defined at extensionb2ctelcoservices.- See Also:
-
CATALOGVERSION
Generated constant - Attribute key ofTmaPolicyCondition.catalogVersionattribute defined at extensionb2ctelcoservices.- See Also:
-
POLICIES
Generated constant - Attribute key ofTmaPolicyCondition.policiesattribute defined at extensionb2ctelcoservices.- See Also:
-
PARENTS
Generated constant - Attribute key ofTmaPolicyCondition.parentsattribute defined at extensionb2ctelcoservices.- See Also:
-
STATEMENT
Generated constant - Attribute key ofTmaPolicyCondition.statementattribute defined at extensionb2ctelcoservices.- See Also:
-
-
Constructor Details
-
TmaPolicyConditionModel
public TmaPolicyConditionModel()Generated constructor - Default constructor for generic creation. -
TmaPolicyConditionModel
public TmaPolicyConditionModel(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
-
TmaPolicyConditionModel
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 typeTmaPolicyConditionat extensionb2ctelcoservices
-
TmaPolicyConditionModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaPolicyConditionModel(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 typeTmaPolicyConditionat extensionb2ctelcoservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCatalogVersion
Generated method - Getter of theTmaPolicyCondition.catalogVersionattribute defined at extensionb2ctelcoservices.- Returns:
- the catalogVersion - Catalog Version on which the TmaPolicyCondition is published.
-
getCode
Generated method - Getter of theTmaPolicyCondition.codeattribute defined at extensionb2ctelcoservices.- Returns:
- the code - Unique identifier of the policy condition.
-
getParents
@Accessor(qualifier="parents", type=GETTER) public Set<TmaCompositePolicyConditionModel> getParents()Generated method - Getter of theTmaPolicyCondition.parentsattribute defined at extensionb2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the parents - Composite Policy Condition containing the parents Policy Conditions.
-
getPolicies
Generated method - Getter of theTmaPolicyCondition.policiesattribute defined at extensionb2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the policies - Policies containing the associated compatibility conditions.
-
getStatement
Generated method - Getter of theTmaPolicyCondition.statementattribute defined at extensionb2ctelcoservices.- Returns:
- the statement - Policy statement defined for a compatibility condition.
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value) Generated method - Setter ofTmaPolicyCondition.catalogVersionattribute defined at extensionb2ctelcoservices.- Parameters:
value- the catalogVersion - Catalog Version on which the TmaPolicyCondition is published.
-
setCode
Generated method - Setter ofTmaPolicyCondition.codeattribute defined at extensionb2ctelcoservices.- Parameters:
value- the code - Unique identifier of the policy condition.
-
setParents
@Accessor(qualifier="parents", type=SETTER) public void setParents(Set<TmaCompositePolicyConditionModel> value) Generated method - Setter ofTmaPolicyCondition.parentsattribute defined at extensionb2ctelcoservices.- Parameters:
value- the parents - Composite Policy Condition containing the parents Policy Conditions.
-
setPolicies
@Accessor(qualifier="policies", type=SETTER) public void setPolicies(Set<TmaCompatibilityPolicyModel> value) Generated method - Setter ofTmaPolicyCondition.policiesattribute defined at extensionb2ctelcoservices.- Parameters:
value- the policies - Policies containing the associated compatibility conditions.
-
setStatement
@Accessor(qualifier="statement", type=SETTER) public void setStatement(TmaPolicyStatementModel value) Generated method - Setter ofTmaPolicyCondition.statementattribute defined at extensionb2ctelcoservices.- Parameters:
value- the statement - Policy statement defined for a compatibility condition.
-