Class ConnectedDocumentItemImpl
- java.lang.Object
-
- de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
-
- de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.impl.ConnectedObjectImpl
-
- de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.impl.ConnectedDocumentItemImpl
-
- All Implemented Interfaces:
BackendAware,BusinessObject,MessageListHolder,ConnectedDocumentItem,ConnectedObject,java.io.Serializable,java.lang.Cloneable
public class ConnectedDocumentItemImpl extends ConnectedObjectImpl implements ConnectedDocumentItem
Standard implementation for the ConnectedDocumentItem interface.
The ConnectedDocumentItem represents an entry in the document flow on item level.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringappTypapplication typeprotected java.util.Datedatedate as attribute for the doc flow e.g.protected java.lang.StringdocOriginorigin of the connected itemprotected TechKeydocumentKeytechnical key for the documentprotected java.lang.StringposNumberposition number of the itemprotected java.math.BigDecimalquantityquantity as attribute for the doc flow e.g.protected java.lang.StringrefGuidReference guidprotected java.lang.StringtrackingURLtracking URL for Delivery connected documentsprotected java.lang.StringunitOfMesurequantity unit as attribute for the doc flow see the reference attribute 'quantity'-
Fields inherited from class de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.impl.ConnectedObjectImpl
busObjectType, displayable, docItemNumber, docNumber, docType, transferUpdateType
-
Fields inherited from class de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
backendObject, backendType, bobMessages, bobState, extensionData, genericFactory, handle, moduleConfigurationAccess, techKey
-
Fields inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.interf.ConnectedObject
DOC_ORIGIN_CRM, IL_NO_TRANSFER_AND_UPDATE, IL_TRANSFER_AND_UPDATE, UNDEFINED
-
Fields inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
INVALID, VALID
-
-
Constructor Summary
Constructors Constructor Description ConnectedDocumentItemImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()Performs a deep-copy of the object rather than a shallow copy.java.lang.StringgetAppTyp()returns the applicaion typejava.lang.StringgetBusObjectType()Returns the business object type of the document.java.util.DategetDate()Returns the date of the relation item e.g.TechKeygetDocumentKey()Returns the key of the document.java.lang.StringgetDocumentOrigin()Returns the origin (e.g RFC destination) of a documentjava.lang.StringgetPosNumber()Returns the Position Number of the connected Itemjava.math.BigDecimalgetQuantity()returns the quantity for the relation item e.g.java.lang.StringgetRefGuid()returns the reference guidjava.lang.StringgetTrackingURL()returns the tracking URL for delivery doc flow entryjava.lang.StringgetUnit()returns the quantity unit see the reference attribute 'quantity'voidsetAppTyp(java.lang.String string)sets the application type of reference documentvoidsetBusObjectType(java.lang.String busObjectType)Sets the business object type of the document.voidsetDate(java.util.Date date)Sets the date for the relation item e.g.voidsetDocumentKey(TechKey documentKey)Sets the document key.voidsetDocumentOrigin(java.lang.String docOrigin)Set the origin (e.g RFC destination) of a documentvoidsetPosNumber(java.lang.String posNumber)Set the Position Number of the connected ItemvoidsetQuantity(java.math.BigDecimal quant)Sets the quantity of the item (e.g.voidsetRefGuid(java.lang.String refGuid)sets the reference guidvoidsetTrackingURL(java.lang.String string)sets the tracking URL for delivery doc flow entryvoidsetUnit(java.lang.String quantUnit)sets the quantity unit provided by the doc flow as attribute of the item relation-
Methods inherited from class de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.impl.ConnectedObjectImpl
getDocItemNumber, getDocNumber, getDocType, getTransferUpdateType, isDisplayable, setDisplayable, setDocItemNumber, setDocNumber, setDocType, setTransferUpdateType
-
Methods inherited from class de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
addExtensionData, addMessage, clearMessages, clearMessages, clearOwnMessages, copyMessages, copyMessages, createUniqueHandle, destroy, determineBackendObject, equals, getBackendBusinessObject, getBackendBusinessObject, getBackendType, getExtensionData, getExtensionDataValues, getExtensionMap, getHandle, getMessageList, getModuleConfigurationAccess, getOwnMessageList, getSubObjectIterator, getTechKey, hasHandle, hashCode, hasMessages, hasOwnMessages, init, isValid, logMessage, removeExtensionData, removeExtensionDataValues, setBackendObject, setBackendType, setExtensionMap, setGenericFactory, setHandle, setInvalid, setModuleConfigurationAccess, setTechKey, setValid, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.sap.core.bol.businessobject.BusinessObject
addExtensionData, clearMessages, clearOwnMessages, copyMessages, copyMessages, createUniqueHandle, destroy, getExtensionData, getExtensionDataValues, getExtensionMap, getHandle, getOwnMessageList, getSubObjectIterator, getTechKey, hasHandle, hasMessages, hasOwnMessages, init, isValid, logMessage, removeExtensionData, removeExtensionDataValues, setExtensionMap, setHandle, setInvalid, setTechKey, setValid
-
Methods inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.interf.ConnectedObject
getDocItemNumber, getDocNumber, getDocType, getTransferUpdateType, isDisplayable, setDisplayable, setDocItemNumber, setDocNumber, setDocType, setTransferUpdateType
-
Methods inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
addMessage, clearMessages, getMessageList
-
-
-
-
Field Detail
-
posNumber
protected java.lang.String posNumber
position number of the item
-
documentKey
protected TechKey documentKey
technical key for the document
-
date
protected java.util.Date date
date as attribute for the doc flow e.g. delivery date in the item doc flow entry for a order-delivery relation
-
quantity
protected java.math.BigDecimal quantity
quantity as attribute for the doc flow e.g. delivered quantity in the item doc flow entry for a order-delivery relation
-
unitOfMesure
protected java.lang.String unitOfMesure
quantity unit as attribute for the doc flow see the reference attribute 'quantity'
-
docOrigin
protected java.lang.String docOrigin
origin of the connected item
-
appTyp
protected java.lang.String appTyp
application type
-
refGuid
protected java.lang.String refGuid
Reference guid
-
trackingURL
protected java.lang.String trackingURL
tracking URL for Delivery connected documents
-
-
Method Detail
-
getDocumentKey
public TechKey getDocumentKey()
Returns the key of the document.- Specified by:
getDocumentKeyin interfaceConnectedDocumentItem- Returns:
- TechKey
-
setDocumentKey
public void setDocumentKey(TechKey documentKey)
Sets the document key.- Specified by:
setDocumentKeyin interfaceConnectedDocumentItem- Parameters:
documentKey- The document key to set
-
setPosNumber
public void setPosNumber(java.lang.String posNumber)
Set the Position Number of the connected Item- Specified by:
setPosNumberin interfaceConnectedDocumentItem- Parameters:
posNumber- position number
-
getPosNumber
public java.lang.String getPosNumber()
Returns the Position Number of the connected Item- Specified by:
getPosNumberin interfaceConnectedDocumentItem- Returns:
- position number
-
getDate
public java.util.Date getDate()
Returns the date of the relation item e.g. delivery date- Specified by:
getDatein interfaceConnectedDocumentItem- Returns:
- Date of the item
-
setDate
public void setDate(java.util.Date date)
Sets the date for the relation item e.g. delivery date, provided by the doc flow- Specified by:
setDatein interfaceConnectedDocumentItem- Parameters:
date- Date of the item
-
getQuantity
public java.math.BigDecimal getQuantity()
returns the quantity for the relation item e.g. delivered quantity- Specified by:
getQuantityin interfaceConnectedDocumentItem- Returns:
- Quantity
-
setQuantity
public void setQuantity(java.math.BigDecimal quant)
Description copied from interface:ConnectedDocumentItemSets the quantity of the item (e.g. delivered quantity).- Specified by:
setQuantityin interfaceConnectedDocumentItem- Parameters:
quant- Quantity
-
getUnit
public java.lang.String getUnit()
returns the quantity unit see the reference attribute 'quantity'- Specified by:
getUnitin interfaceConnectedDocumentItem- Returns:
- Quantity Unit
-
setUnit
public void setUnit(java.lang.String quantUnit)
sets the quantity unit provided by the doc flow as attribute of the item relation- Specified by:
setUnitin interfaceConnectedDocumentItem- Parameters:
quantUnit- Quantity Unit
-
getAppTyp
public java.lang.String getAppTyp()
returns the applicaion type- Specified by:
getAppTypin interfaceConnectedDocumentItem- Returns:
- Application type
-
setAppTyp
public void setAppTyp(java.lang.String string)
sets the application type of reference document- Specified by:
setAppTypin interfaceConnectedDocumentItem- Parameters:
string- Application type
-
getRefGuid
public java.lang.String getRefGuid()
returns the reference guid- Specified by:
getRefGuidin interfaceConnectedObject- Returns:
- Reference GUID
-
setRefGuid
public void setRefGuid(java.lang.String refGuid)
sets the reference guid- Specified by:
setRefGuidin interfaceConnectedObject- Parameters:
refGuid- Reference GUID
-
getTrackingURL
public java.lang.String getTrackingURL()
returns the tracking URL for delivery doc flow entry- Specified by:
getTrackingURLin interfaceConnectedDocumentItem- Returns:
- Tracking URL
-
setTrackingURL
public void setTrackingURL(java.lang.String string)
sets the tracking URL for delivery doc flow entry- Specified by:
setTrackingURLin interfaceConnectedDocumentItem- Parameters:
string- Tracking URL
-
setDocumentOrigin
public void setDocumentOrigin(java.lang.String docOrigin)
Set the origin (e.g RFC destination) of a document- Specified by:
setDocumentOriginin interfaceConnectedDocumentItem- Specified by:
setDocumentOriginin interfaceConnectedObject- Parameters:
docOrigin- contains a documents origin
-
getDocumentOrigin
public java.lang.String getDocumentOrigin()
Returns the origin (e.g RFC destination) of a document- Specified by:
getDocumentOriginin interfaceConnectedDocumentItem- Specified by:
getDocumentOriginin interfaceConnectedObject- Returns:
- String containg a documents origin
-
getBusObjectType
public java.lang.String getBusObjectType()
Description copied from interface:ConnectedObjectReturns the business object type of the document.- Specified by:
getBusObjectTypein interfaceConnectedObject- Returns:
- Business object type
-
setBusObjectType
public void setBusObjectType(java.lang.String busObjectType)
Description copied from interface:ConnectedObjectSets the business object type of the document.- Specified by:
setBusObjectTypein interfaceConnectedObject- Parameters:
busObjectType- Business object type
-
clone
public java.lang.Object clone()
Description copied from class:ConnectedObjectImplPerforms a deep-copy of the object rather than a shallow copy.- Specified by:
clonein interfaceConnectedObject- Overrides:
clonein classConnectedObjectImpl- Returns:
- returns a deep copy
-
-