Class TuaProductRelationshipModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.tuadatamodel.model.TuaProductRelationshipModel
- All Implemented Interfaces:
Serializable
Generated model class for type TuaProductRelationship first defined at extension tuadatamodel.
- 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 relationTmaCartSubscriptionInfo2TuaProductRelationshipRelationdefining source attributesubscriptionInfoin extensiontuadatacommonsservices.static final StringGenerated relation code constant for relationTuaProduct2TuaProductRelationshipRelationdefining source attributeproductin extensiontuadatamodel.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTuaProductRelationship.externalIdentifiersattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaProductRelationship.idattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaProductRelationship.productattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaProductRelationship.subscriptionInfoattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTuaProductRelationship.targetattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaProductRelationship.typeattribute defined at extensiontuadatamodel.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.TuaProductRelationshipModel(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 parametersTuaProductRelationshipModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theTuaProductRelationship.externalIdentifiersattribute defined at extensiontuadatamodel.getId()Generated method - Getter of theTuaProductRelationship.idattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaProductRelationship.productattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaProductRelationship.subscriptionInfoattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTuaProductRelationship.targetattribute defined at extensiontuadatamodel.getType()Generated method - Getter of theTuaProductRelationship.typeattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaProductRelationship.externalIdentifiersattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaProductRelationship.idattribute defined at extensiontuadatamodel.voidsetProduct(TuaProductModel value) Generated method - Setter ofTuaProductRelationship.productattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaProductRelationship.subscriptionInfoattribute defined at extensiontuadatacommonsservices.voidsetTarget(TuaProductModel value) Generated method - Setter ofTuaProductRelationship.targetattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaProductRelationship.typeattribute defined at extensiontuadatamodel.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:
-
_TUAPRODUCT2TUAPRODUCTRELATIONSHIPRELATION
Generated relation code constant for relationTuaProduct2TuaProductRelationshipRelationdefining source attributeproductin extensiontuadatamodel.- See Also:
-
_TMACARTSUBSCRIPTIONINFO2TUAPRODUCTRELATIONSHIPRELATION
Generated relation code constant for relationTmaCartSubscriptionInfo2TuaProductRelationshipRelationdefining source attributesubscriptionInfoin extensiontuadatacommonsservices.- See Also:
-
ID
Generated constant - Attribute key ofTuaProductRelationship.idattribute defined at extensiontuadatamodel.- See Also:
-
TYPE
Generated constant - Attribute key ofTuaProductRelationship.typeattribute defined at extensiontuadatamodel.- See Also:
-
EXTERNALIDENTIFIERS
Generated constant - Attribute key ofTuaProductRelationship.externalIdentifiersattribute defined at extensiontuadatamodel.- See Also:
-
PRODUCT
Generated constant - Attribute key ofTuaProductRelationship.productattribute defined at extensiontuadatamodel.- See Also:
-
TARGET
Generated constant - Attribute key ofTuaProductRelationship.targetattribute defined at extensiontuadatamodel.- See Also:
-
SUBSCRIPTIONINFO
Generated constant - Attribute key ofTuaProductRelationship.subscriptionInfoattribute defined at extensiontuadatacommonsservices.- See Also:
-
-
Constructor Details
-
TuaProductRelationshipModel
public TuaProductRelationshipModel()Generated constructor - Default constructor for generic creation. -
TuaProductRelationshipModel
public TuaProductRelationshipModel(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
-
TuaProductRelationshipModel
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:
_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getExternalIdentifiers
@Accessor(qualifier="externalIdentifiers", type=GETTER) public List<TuaExternalIdentifierModel> getExternalIdentifiers()Generated method - Getter of theTuaProductRelationship.externalIdentifiersattribute defined at extensiontuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the externalIdentifiers
-
getId
Generated method - Getter of theTuaProductRelationship.idattribute defined at extensiontuadatamodel.- Returns:
- the id
-
getProduct
Generated method - Getter of theTuaProductRelationship.productattribute defined at extensiontuadatamodel.- Returns:
- the product - The Product for which that relationships are valid.
-
getSubscriptionInfo
@Accessor(qualifier="subscriptionInfo", type=GETTER) public TmaCartSubscriptionInfoModel getSubscriptionInfo()Generated method - Getter of theTuaProductRelationship.subscriptionInfoattribute defined at extensiontuadatacommonsservices.- Returns:
- the subscriptionInfo - The Product for which that relationships are valid.
-
getTarget
Generated method - Getter of theTuaProductRelationship.targetattribute defined at extensiontuadatamodel.- Returns:
- the target - Tua Product representing the product of the Tua Product Relationship.
-
getType
Generated method - Getter of theTuaProductRelationship.typeattribute defined at extensiontuadatamodel.- Returns:
- the type
-
setExternalIdentifiers
@Accessor(qualifier="externalIdentifiers", type=SETTER) public void setExternalIdentifiers(List<TuaExternalIdentifierModel> value) Generated method - Setter ofTuaProductRelationship.externalIdentifiersattribute defined at extensiontuadatamodel.- Parameters:
value- the externalIdentifiers
-
setId
Generated method - Setter ofTuaProductRelationship.idattribute defined at extensiontuadatamodel.- Parameters:
value- the id
-
setProduct
Generated method - Setter ofTuaProductRelationship.productattribute defined at extensiontuadatamodel.- Parameters:
value- the product - The Product for which that relationships are valid.
-
setSubscriptionInfo
@Accessor(qualifier="subscriptionInfo", type=SETTER) public void setSubscriptionInfo(TmaCartSubscriptionInfoModel value) Generated method - Setter ofTuaProductRelationship.subscriptionInfoattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the subscriptionInfo - The Product for which that relationships are valid.
-
setTarget
Generated method - Setter ofTuaProductRelationship.targetattribute defined at extensiontuadatamodel.- Parameters:
value- the target - Tua Product representing the product of the Tua Product Relationship.
-
setType
Generated method - Setter ofTuaProductRelationship.typeattribute defined at extensiontuadatamodel.- Parameters:
value- the type
-