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,java.io.Serializable,java.lang.Cloneable
- Direct Known Subclasses:
BillToImpl,ShipToImpl
public class PartnerBaseImpl extends BusinessObjectBase implements PartnerBase
Partner Base: Address information of the business partner- See Also:
- Serialized Form
-
-
Field Summary
-
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.core.common.message.MessageListHolder
INVALID, VALID
-
-
Constructor Summary
Constructors Constructor Description PartnerBaseImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartnerBaseImplclone()Makes a copy of the object.AddressgetAddress()Returns the address for the ship tojava.lang.StringgetId()Returns the id of the the ship tojava.lang.StringgetShortAddress()Returns 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 tovoidsetId(java.lang.String id)Sets the business partner id of the ship tovoidsetIdX(boolean idX)Sets flag which indicates that address was set.voidsetShortAddress(java.lang.String shortAddress)Sets the short address for the ship to.voidsetTechKey(TechKey techKey)Sets the key for the document.java.lang.StringtoString()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, setValid
-
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, setValid
-
Methods inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
addMessage, clearMessages, getMessageList
-
-
-
-
Method Detail
-
setTechKey
public void setTechKey(TechKey techKey)
Description copied from interface:BusinessObjectSets the key for the document.- Specified by:
setTechKeyin interfaceBusinessObject- Overrides:
setTechKeyin classBusinessObjectBase- Parameters:
techKey- Key to be set
-
setAddress
public void setAddress(Address address)
Sets the fully qualified address for the ship to- Specified by:
setAddressin interfacePartnerBase- Parameters:
address- The address to be set
-
getAddress
public Address getAddress()
Returns the address for the ship to- Specified by:
getAddressin interfacePartnerBase- Returns:
- Address
-
getShortAddress
public java.lang.String getShortAddress()
Returns the short address for the ship to- Specified by:
getShortAddressin interfacePartnerBase- Returns:
- The short address
-
setShortAddress
public void setShortAddress(java.lang.String shortAddress)
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
public java.lang.String toString()
Get a string representation of the object.- Overrides:
toStringin classBusinessObjectBase- Returns:
- string representation
-
setId
public void setId(java.lang.String id)
Sets the business partner id of the ship to- Specified by:
setIdin interfacePartnerBase- Parameters:
id- The id to be set
-
getId
public java.lang.String getId()
Returns the id of the the ship to- Specified by:
getIdin interfacePartnerBase- Returns:
- id
-
clone
public PartnerBaseImpl 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:
Object.clone()
-
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
-
-