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:
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
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_PRODUCT2SAPEXTERNALIDSGenerated relation code constant for relationProduct2SAPExternalIdsdefining source attributeitemin extensionsapmodel.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringAPPLICATIONGenerated constant - Attribute key ofSAPExternalId.applicationattribute defined at extensionsapmodel.static java.lang.StringEXTERNALIDGenerated constant - Attribute key ofSAPExternalId.externalIdattribute defined at extensionsapmodel.static java.lang.StringITEMGenerated constant - Attribute key ofSAPExternalId.itemattribute defined at extensionsapmodel.static java.lang.StringTENANTIDGenerated constant - Attribute key ofSAPExternalId.tenantIdattribute defined at extensionsapmodel.static java.lang.StringVERSIONIDGenerated constant - Attribute key ofSAPExternalId.versionIdattribute defined at extensionsapmodel.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
-
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 contextSAPExternalIdModel(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 parametersSAPExternalIdModel(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.StringgetApplication()Generated method - Getter of theSAPExternalId.applicationattribute defined at extensionsapmodel.java.lang.StringgetExternalId()Generated method - Getter of theSAPExternalId.externalIdattribute defined at extensionsapmodel.ProductModelgetItem()Generated method - Getter of theSAPExternalId.itemattribute defined at extensionsapmodel.java.lang.StringgetTenantId()Generated method - Getter of theSAPExternalId.tenantIdattribute defined at extensionsapmodel.java.lang.StringgetVersionId()Generated method - Getter of theSAPExternalId.versionIdattribute defined at extensionsapmodel.voidsetApplication(java.lang.String value)Generated method - Setter ofSAPExternalId.applicationattribute defined at extensionsapmodel.voidsetExternalId(java.lang.String value)Generated method - Setter ofSAPExternalId.externalIdattribute defined at extensionsapmodel.voidsetItem(ProductModel value)Generated method - Initial setter ofSAPExternalId.itemattribute defined at extensionsapmodel.voidsetTenantId(java.lang.String value)Generated method - Setter ofSAPExternalId.tenantIdattribute defined at extensionsapmodel.voidsetVersionId(java.lang.String value)Generated method - Setter ofSAPExternalId.versionIdattribute defined at extensionsapmodel.-
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
-
-
-
-
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 relationProduct2SAPExternalIdsdefining source attributeitemin extensionsapmodel.- See Also:
- Constant Field Values
-
APPLICATION
public static final java.lang.String APPLICATION
Generated constant - Attribute key ofSAPExternalId.applicationattribute defined at extensionsapmodel.- See Also:
- Constant Field Values
-
EXTERNALID
public static final java.lang.String EXTERNALID
Generated constant - Attribute key ofSAPExternalId.externalIdattribute defined at extensionsapmodel.- See Also:
- Constant Field Values
-
TENANTID
public static final java.lang.String TENANTID
Generated constant - Attribute key ofSAPExternalId.tenantIdattribute defined at extensionsapmodel.- See Also:
- Constant Field Values
-
VERSIONID
public static final java.lang.String VERSIONID
Generated constant - Attribute key ofSAPExternalId.versionIdattribute defined at extensionsapmodel.- See Also:
- Constant Field Values
-
ITEM
public static final java.lang.String ITEM
Generated constant - Attribute key ofSAPExternalId.itemattribute defined at extensionsapmodel.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_application- initial attribute declared by typeSAPExternalIdat extensionsapmodel_externalId- initial attribute declared by typeSAPExternalIdat extensionsapmodel_tenantId- initial attribute declared by typeSAPExternalIdat extensionsapmodel
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_application- initial attribute declared by typeSAPExternalIdat extensionsapmodel_externalId- initial attribute declared by typeSAPExternalIdat extensionsapmodel_item- initial attribute declared by typeSAPExternalIdat extensionsapmodel_owner- initial attribute declared by typeItemat extensioncore_tenantId- initial attribute declared by typeSAPExternalIdat extensionsapmodel
-
-
Method Detail
-
getApplication
@Accessor(qualifier="application", type=GETTER) public java.lang.String getApplication()Generated method - Getter of theSAPExternalId.applicationattribute defined at extensionsapmodel.- Returns:
- the application - Application Identifier like S4, MDI
-
getExternalId
@Accessor(qualifier="externalId", type=GETTER) public java.lang.String getExternalId()Generated method - Getter of theSAPExternalId.externalIdattribute defined at extensionsapmodel.- Returns:
- the externalId - Unique item identifier value in the external system
-
getItem
@Accessor(qualifier="item", type=GETTER) public ProductModel getItem()Generated method - Getter of theSAPExternalId.itemattribute defined at extensionsapmodel.- Returns:
- the item - Product entry
-
getTenantId
@Accessor(qualifier="tenantId", type=GETTER) public java.lang.String getTenantId()Generated method - Getter of theSAPExternalId.tenantIdattribute defined at extensionsapmodel.- Overrides:
getTenantIdin classde.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 theSAPExternalId.versionIdattribute defined at extensionsapmodel.- 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 ofSAPExternalId.applicationattribute defined at extensionsapmodel.- 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 ofSAPExternalId.externalIdattribute defined at extensionsapmodel.- 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 ofSAPExternalId.itemattribute defined at extensionsapmodel. 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 ofSAPExternalId.tenantIdattribute defined at extensionsapmodel.- 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 ofSAPExternalId.versionIdattribute defined at extensionsapmodel.- Parameters:
value- the versionId - Version id of the item used for replication
-
-