Class SAPExternalIdModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.sap.sapmodel.model.SAPExternalIdModel
All Implemented Interfaces:
Serializable

public class SAPExternalIdModel extends ItemModel
Generated model class for type SAPExternalId first defined at extension sapmodel.

Type for storing external UUIDs.

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 relation code constant for relation Product2SAPExternalIds defining source attribute item in extension sapmodel.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of SAPExternalId.application attribute defined at extension sapmodel.
    static final String
    Generated constant - Attribute key of SAPExternalId.externalId attribute defined at extension sapmodel.
    static final String
    Generated constant - Attribute key of SAPExternalId.item attribute defined at extension sapmodel.
    static final String
    Generated constant - Attribute key of SAPExternalId.tenantId attribute defined at extension sapmodel.
    static final String
    Generated constant - Attribute key of SAPExternalId.versionId attribute defined at extension sapmodel.

    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.
    SAPExternalIdModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    SAPExternalIdModel(String _application, String _externalId, ProductModel _item, ItemModel _owner, String _tenantId)
    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
    SAPExternalIdModel(String _application, String _externalId, String _tenantId)
    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 Type
    Method
    Description
    Generated method - Getter of the SAPExternalId.application attribute defined at extension sapmodel.
    Generated method - Getter of the SAPExternalId.externalId attribute defined at extension sapmodel.
    Generated method - Getter of the SAPExternalId.item attribute defined at extension sapmodel.
    Generated method - Getter of the SAPExternalId.tenantId attribute defined at extension sapmodel.
    Generated method - Getter of the SAPExternalId.versionId attribute defined at extension sapmodel.
    void
    Generated method - Setter of SAPExternalId.application attribute defined at extension sapmodel.
    void
    Generated method - Setter of SAPExternalId.externalId attribute defined at extension sapmodel.
    void
    Generated method - Initial setter of SAPExternalId.item attribute defined at extension sapmodel.
    void
    Generated method - Setter of SAPExternalId.tenantId attribute defined at extension sapmodel.
    void
    Generated method - Setter of SAPExternalId.versionId attribute defined at extension sapmodel.

    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, 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:
    • _PRODUCT2SAPEXTERNALIDS

      public static final String _PRODUCT2SAPEXTERNALIDS
      Generated relation code constant for relation Product2SAPExternalIds defining source attribute item in extension sapmodel.
      See Also:
    • APPLICATION

      public static final String APPLICATION
      Generated constant - Attribute key of SAPExternalId.application attribute defined at extension sapmodel.
      See Also:
    • EXTERNALID

      public static final String EXTERNALID
      Generated constant - Attribute key of SAPExternalId.externalId attribute defined at extension sapmodel.
      See Also:
    • TENANTID

      public static final String TENANTID
      Generated constant - Attribute key of SAPExternalId.tenantId attribute defined at extension sapmodel.
      See Also:
    • VERSIONID

      public static final String VERSIONID
      Generated constant - Attribute key of SAPExternalId.versionId attribute defined at extension sapmodel.
      See Also:
    • ITEM

      public static final String ITEM
      Generated constant - Attribute key of SAPExternalId.item attribute defined at extension sapmodel.
      See Also:
  • Constructor Details

    • SAPExternalIdModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public SAPExternalIdModel(String _application, String _externalId, String _tenantId)
      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:
      _application - initial attribute declared by type SAPExternalId at extension sapmodel
      _externalId - initial attribute declared by type SAPExternalId at extension sapmodel
      _tenantId - initial attribute declared by type SAPExternalId at extension sapmodel
    • SAPExternalIdModel

      @Deprecated(since="4.1.1", forRemoval=true) public SAPExternalIdModel(String _application, String _externalId, ProductModel _item, ItemModel _owner, String _tenantId)
      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:
      _application - initial attribute declared by type SAPExternalId at extension sapmodel
      _externalId - initial attribute declared by type SAPExternalId at extension sapmodel
      _item - initial attribute declared by type SAPExternalId at extension sapmodel
      _owner - initial attribute declared by type Item at extension core
      _tenantId - initial attribute declared by type SAPExternalId at extension sapmodel
  • Method Details

    • getApplication

      @Accessor(qualifier="application", type=GETTER) public String getApplication()
      Generated method - Getter of the SAPExternalId.application attribute defined at extension sapmodel.
      Returns:
      the application - Application Identifier like S4, MDI
    • getExternalId

      @Accessor(qualifier="externalId", type=GETTER) public String getExternalId()
      Generated method - Getter of the SAPExternalId.externalId attribute defined at extension sapmodel.
      Returns:
      the externalId - Unique item identifier value in the external system
    • getItem

      @Accessor(qualifier="item", type=GETTER) public ProductModel getItem()
      Generated method - Getter of the SAPExternalId.item attribute defined at extension sapmodel.
      Returns:
      the item - Product entry
    • getTenantId

      @Accessor(qualifier="tenantId", type=GETTER) public String getTenantId()
      Generated method - Getter of the SAPExternalId.tenantId attribute defined at extension sapmodel.
      Overrides:
      getTenantId in class de.hybris.platform.servicelayer.model.AbstractItemModel
      Returns:
      the tenantId - Specific instance id of the external system
    • getVersionId

      @Accessor(qualifier="versionId", type=GETTER) public String getVersionId()
      Generated method - Getter of the SAPExternalId.versionId attribute defined at extension sapmodel.
      Returns:
      the versionId - Version id of the item used for replication
    • setApplication

      @Accessor(qualifier="application", type=SETTER) public void setApplication(String value)
      Generated method - Setter of SAPExternalId.application attribute defined at extension sapmodel.
      Parameters:
      value - the application - Application Identifier like S4, MDI
    • setExternalId

      @Accessor(qualifier="externalId", type=SETTER) public void setExternalId(String value)
      Generated method - Setter of SAPExternalId.externalId attribute defined at extension sapmodel.
      Parameters:
      value - the externalId - Unique item identifier value in the external system
    • setItem

      @Accessor(qualifier="item", type=SETTER) public void setItem(ProductModel value)
      Generated method - Initial setter of SAPExternalId.item attribute defined at extension sapmodel. Can only be used at creation of model - before first save.
      Parameters:
      value - the item - Product entry
    • setTenantId

      @Accessor(qualifier="tenantId", type=SETTER) public void setTenantId(String value)
      Generated method - Setter of SAPExternalId.tenantId attribute defined at extension sapmodel.
      Parameters:
      value - the tenantId - Specific instance id of the external system
    • setVersionId

      @Accessor(qualifier="versionId", type=SETTER) public void setVersionId(String value)
      Generated method - Setter of SAPExternalId.versionId attribute defined at extension sapmodel.
      Parameters:
      value - the versionId - Version id of the item used for replication