Class PartnerBaseImpl
java.lang.Object
de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.impl.PartnerBaseImpl
- All Implemented Interfaces:
BackendAware,BusinessObject,MessageListHolder,PartnerBase,Serializable,Cloneable
- Direct Known Subclasses:
BillToImpl,ShipToImpl
Partner Base: Address information of the business partner
- See Also:
-
Field Summary
Fields inherited from class de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
backendObject, backendType, bobMessages, bobState, extensionData, genericFactory, handle, moduleConfigurationAccess, techKeyFields inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
INVALID, VALID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Makes a copy of the object.Returns the address for the ship togetId()Returns the id of the the ship toReturns the short address for the ship tobooleanisIdX()Returns value which indicates that address was set.voidsetAddress(Address address) Sets the fully qualified address for the ship tovoidSets the business partner id of the ship tovoidsetIdX(boolean idX) Sets flag which indicates that address was set.voidsetShortAddress(String shortAddress) Sets the short address for the ship to.voidsetTechKey(TechKey techKey) Sets the key for the document.toString()Get a string representation of the object.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, setValidMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, setValidMethods inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
addMessage, clearMessages, getMessageList
-
Constructor Details
-
PartnerBaseImpl
public PartnerBaseImpl()
-
-
Method Details
-
setTechKey
Description copied from interface:BusinessObjectSets the key for the document.- Specified by:
setTechKeyin interfaceBusinessObject- Overrides:
setTechKeyin classBusinessObjectBase- Parameters:
techKey- Key to be set
-
setAddress
Sets the fully qualified address for the ship to- Specified by:
setAddressin interfacePartnerBase- Parameters:
address- The address to be set
-
getAddress
Returns the address for the ship to- Specified by:
getAddressin interfacePartnerBase- Returns:
- Address
-
getShortAddress
Returns the short address for the ship to- Specified by:
getShortAddressin interfacePartnerBase- Returns:
- The short address
-
setShortAddress
Sets the short address for the ship to. The short address is used in dialogs to select a ship to from a list of ship tos- Specified by:
setShortAddressin interfacePartnerBase- Parameters:
shortAddress- The short address for the ship to
-
toString
Get a string representation of the object.- Overrides:
toStringin classBusinessObjectBase- Returns:
- string representation
-
setId
Sets the business partner id of the ship to- Specified by:
setIdin interfacePartnerBase- Parameters:
id- The id to be set
-
getId
Returns the id of the the ship to- Specified by:
getIdin interfacePartnerBase- Returns:
- id
-
clone
Description copied from class:BusinessObjectBaseMakes a copy of the object. The MessageList is copied.- Specified by:
clonein interfacePartnerBase- Overrides:
clonein classBusinessObjectBase- Returns:
- a copy of object
- See Also:
-
isIdX
public boolean isIdX()Description copied from interface:PartnerBaseReturns value which indicates that address was set.- Specified by:
isIdXin interfacePartnerBase- Returns:
- true, if address was set
-
setIdX
public void setIdX(boolean idX) Description copied from interface:PartnerBaseSets flag which indicates that address was set.- Specified by:
setIdXin interfacePartnerBase- Parameters:
idX- Flag indicates whether address was set
-