Class SAPExternalIdModel

  • All Implemented Interfaces:
    java.io.Serializable

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

    Type for storing external UUIDs.

    See Also:
    Serialized Form
    • 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 java.lang.String _PRODUCT2SAPEXTERNALIDS
      Generated relation code constant for relation Product2SAPExternalIds defining source attribute item in extension sapmodel.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String APPLICATION
      Generated constant - Attribute key of SAPExternalId.application attribute defined at extension sapmodel.
      static java.lang.String EXTERNALID
      Generated constant - Attribute key of SAPExternalId.externalId attribute defined at extension sapmodel.
      static java.lang.String ITEM
      Generated constant - Attribute key of SAPExternalId.item attribute defined at extension sapmodel.
      static java.lang.String TENANTID
      Generated constant - Attribute key of SAPExternalId.tenantId attribute defined at extension sapmodel.
      static java.lang.String VERSIONID
      Generated constant - Attribute key of SAPExternalId.versionId attribute defined at extension sapmodel.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      SAPExternalIdModel()
      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​(java.lang.String _application, java.lang.String _externalId, ProductModel _item, ItemModel _owner, java.lang.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​(java.lang.String _application, java.lang.String _externalId, java.lang.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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getApplication()
      Generated method - Getter of the SAPExternalId.application attribute defined at extension sapmodel.
      java.lang.String getExternalId()
      Generated method - Getter of the SAPExternalId.externalId attribute defined at extension sapmodel.
      ProductModel getItem()
      Generated method - Getter of the SAPExternalId.item attribute defined at extension sapmodel.
      java.lang.String getTenantId()
      Generated method - Getter of the SAPExternalId.tenantId attribute defined at extension sapmodel.
      java.lang.String getVersionId()
      Generated method - Getter of the SAPExternalId.versionId attribute defined at extension sapmodel.
      void setApplication​(java.lang.String value)
      Generated method - Setter of SAPExternalId.application attribute defined at extension sapmodel.
      void setExternalId​(java.lang.String value)
      Generated method - Setter of SAPExternalId.externalId attribute defined at extension sapmodel.
      void setItem​(ProductModel value)
      Generated method - Initial setter of SAPExternalId.item attribute defined at extension sapmodel.
      void setTenantId​(java.lang.String value)
      Generated method - Setter of SAPExternalId.tenantId attribute defined at extension sapmodel.
      void setVersionId​(java.lang.String value)
      Generated method - Setter of SAPExternalId.versionId attribute defined at extension sapmodel.
      • 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 Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _PRODUCT2SAPEXTERNALIDS

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

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

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

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

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

        public static final java.lang.String ITEM
        Generated constant - Attribute key of SAPExternalId.item attribute defined at extension sapmodel.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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​(java.lang.String _application,
                                  java.lang.String _externalId,
                                  java.lang.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​(java.lang.String _application,
                                  java.lang.String _externalId,
                                  ProductModel _item,
                                  ItemModel _owner,
                                  java.lang.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 Detail

      • getApplication

        @Accessor(qualifier="application",
                  type=GETTER)
        public java.lang.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 java.lang.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 java.lang.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 java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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