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
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
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationProduct2SAPExternalIdsdefining source attributeitemin extensionsapmodel.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofSAPExternalId.applicationattribute defined at extensionsapmodel.static final StringGenerated constant - Attribute key ofSAPExternalId.externalIdattribute defined at extensionsapmodel.static final StringGenerated constant - Attribute key ofSAPExternalId.itemattribute defined at extensionsapmodel.static final StringGenerated constant - Attribute key ofSAPExternalId.tenantIdattribute defined at extensionsapmodel.static final StringGenerated 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, 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.SAPExternalIdModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextSAPExternalIdModel(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 parametersSAPExternalIdModel(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 TypeMethodDescriptionGenerated method - Getter of theSAPExternalId.applicationattribute defined at extensionsapmodel.Generated method - Getter of theSAPExternalId.externalIdattribute defined at extensionsapmodel.getItem()Generated method - Getter of theSAPExternalId.itemattribute defined at extensionsapmodel.Generated method - Getter of theSAPExternalId.tenantIdattribute defined at extensionsapmodel.Generated method - Getter of theSAPExternalId.versionIdattribute defined at extensionsapmodel.voidsetApplication(String value) Generated method - Setter ofSAPExternalId.applicationattribute defined at extensionsapmodel.voidsetExternalId(String value) Generated method - Setter ofSAPExternalId.externalIdattribute defined at extensionsapmodel.voidsetItem(ProductModel value) Generated method - Initial setter ofSAPExternalId.itemattribute defined at extensionsapmodel.voidsetTenantId(String value) Generated method - Setter ofSAPExternalId.tenantIdattribute defined at extensionsapmodel.voidsetVersionId(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, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_PRODUCT2SAPEXTERNALIDS
Generated relation code constant for relationProduct2SAPExternalIdsdefining source attributeitemin extensionsapmodel.- See Also:
-
APPLICATION
Generated constant - Attribute key ofSAPExternalId.applicationattribute defined at extensionsapmodel.- See Also:
-
EXTERNALID
Generated constant - Attribute key ofSAPExternalId.externalIdattribute defined at extensionsapmodel.- See Also:
-
TENANTID
Generated constant - Attribute key ofSAPExternalId.tenantIdattribute defined at extensionsapmodel.- See Also:
-
VERSIONID
Generated constant - Attribute key ofSAPExternalId.versionIdattribute defined at extensionsapmodel.- See Also:
-
ITEM
Generated constant - Attribute key ofSAPExternalId.itemattribute defined at extensionsapmodel.- 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 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(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 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 Details
-
getApplication
Generated method - Getter of theSAPExternalId.applicationattribute defined at extensionsapmodel.- Returns:
- the application - Application Identifier like S4, MDI
-
getExternalId
Generated method - Getter of theSAPExternalId.externalIdattribute defined at extensionsapmodel.- Returns:
- the externalId - Unique item identifier value in the external system
-
getItem
Generated method - Getter of theSAPExternalId.itemattribute defined at extensionsapmodel.- Returns:
- the item - Product entry
-
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
Generated method - Getter of theSAPExternalId.versionIdattribute defined at extensionsapmodel.- Returns:
- the versionId - Version id of the item used for replication
-
setApplication
Generated method - Setter ofSAPExternalId.applicationattribute defined at extensionsapmodel.- Parameters:
value- the application - Application Identifier like S4, MDI
-
setExternalId
Generated method - Setter ofSAPExternalId.externalIdattribute defined at extensionsapmodel.- Parameters:
value- the externalId - Unique item identifier value in the external system
-
setItem
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
Generated method - Setter ofSAPExternalId.tenantIdattribute defined at extensionsapmodel.- Parameters:
value- the tenantId - Specific instance id of the external system
-
setVersionId
Generated method - Setter ofSAPExternalId.versionIdattribute defined at extensionsapmodel.- Parameters:
value- the versionId - Version id of the item used for replication
-