Class CMSRelationModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.cms2.model.relations.CMSRelationModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ContentSlotForPageModel, ContentSlotForTemplateModel

public class CMSRelationModel extends ItemModel
Generated model class for type CMSRelation first defined at extension cms2.
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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of CMSRelation.catalogVersion attribute defined at extension cms2.
    static final String
    Generated constant - Attribute key of CMSRelation.uid attribute defined at extension cms2.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    CMSRelationModel(CatalogVersionModel _catalogVersion, ItemModel _owner, String _uid)
    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
    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
    CMSRelationModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the CMSRelation.catalogVersion attribute defined at extension cms2.
    Generated method - Getter of the CMSRelation.uid attribute defined at extension cms2.
    void
    Generated method - Setter of CMSRelation.catalogVersion attribute defined at extension cms2.
    void
    setUid(String value)
    Generated method - Setter of CMSRelation.uid attribute defined at extension cms2.

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • UID

      public static final String UID
      Generated constant - Attribute key of CMSRelation.uid attribute defined at extension cms2.
      See Also:
    • CATALOGVERSION

      public static final String CATALOGVERSION
      Generated constant - Attribute key of CMSRelation.catalogVersion attribute defined at extension cms2.
      See Also:
  • Constructor Details

    • CMSRelationModel

      public CMSRelationModel()
      Generated constructor - Default constructor for generic creation.
    • CMSRelationModel

      public CMSRelationModel(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
    • CMSRelationModel

      @Deprecated(since="4.1.1", forRemoval=true) public CMSRelationModel(CatalogVersionModel _catalogVersion, String _uid)
      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
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type CMSRelation at extension cms2
      _uid - initial attribute declared by type CMSRelation at extension cms2
    • CMSRelationModel

      @Deprecated(since="4.1.1", forRemoval=true) public CMSRelationModel(CatalogVersionModel _catalogVersion, ItemModel _owner, String _uid)
      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
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type CMSRelation at extension cms2
      _owner - initial attribute declared by type Item at extension core
      _uid - initial attribute declared by type CMSRelation at extension cms2
  • Method Details

    • getCatalogVersion

      @Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
      Generated method - Getter of the CMSRelation.catalogVersion attribute defined at extension cms2.
      Returns:
      the catalogVersion
    • getUid

      @Accessor(qualifier="uid", type=GETTER) public String getUid()
      Generated method - Getter of the CMSRelation.uid attribute defined at extension cms2.
      Returns:
      the uid
    • setCatalogVersion

      @Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
      Generated method - Setter of CMSRelation.catalogVersion attribute defined at extension cms2.
      Parameters:
      value - the catalogVersion
    • setUid

      @Accessor(qualifier="uid", type=SETTER) public void setUid(String value)
      Generated method - Setter of CMSRelation.uid attribute defined at extension cms2.
      Parameters:
      value - the uid