Class SimpleHeaderImpl
java.lang.Object
de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
de.hybris.platform.sap.sapordermgmtbol.transaction.header.businessobject.impl.SimpleHeaderImpl
- All Implemented Interfaces:
BackendAware,BusinessObject,MessageListHolder,SimpleHeader,Serializable,Cloneable
- Direct Known Subclasses:
HeaderBaseImpl
- 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 TypeMethodDescriptionvoidclear()Drops the state of the object.clone()Instead of a shallow-copy this returns a deep-copy of this SimpleHeaderImpl instance.Get description added on the header level.getText()Get text on the header level of the document.Type safe getter for the extension mapbooleanisDirty()get the dirty flagvoidsetDescription(String description) Sets the description on the header level.voidsetDirty(boolean isDirty) Set the dirty flagvoidSet the text on the header level of the document.toString()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, 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, setTechKey, setValidMethods inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
addMessage, clearMessages, getMessageList
-
Constructor Details
-
SimpleHeaderImpl
public SimpleHeaderImpl()
-
-
Method Details
-
clear
public void clear()Description copied from interface:SimpleHeaderDrops the state of the object. All reference fields, except partnerList, are set to null, all primitive types are set to the default values they would have after the creation of a new instance. Use this method to reset the state to the state a newly created object would have. The advantage is, that the overhead caused by the normal object creation is omitted.- Specified by:
clearin interfaceSimpleHeader
-
isDirty
public boolean isDirty()Description copied from interface:SimpleHeaderget the dirty flag- Specified by:
isDirtyin interfaceSimpleHeader- Returns:
- isDirty must the header be read from the backend true/false
-
setDirty
public void setDirty(boolean isDirty) Description copied from interface:SimpleHeaderSet the dirty flag- Specified by:
setDirtyin interfaceSimpleHeader- Parameters:
isDirty- must the header be read from the backend true/false
-
getDescription
Description copied from interface:SimpleHeaderGet description added on the header level.- Specified by:
getDescriptionin interfaceSimpleHeader- Returns:
- description
-
getText
Description copied from interface:SimpleHeaderGet text on the header level of the document.- Specified by:
getTextin interfaceSimpleHeader- Returns:
- the text
-
setDescription
Description copied from interface:SimpleHeaderSets the description on the header level.- Specified by:
setDescriptionin interfaceSimpleHeader- Parameters:
description- the description
-
setText
Description copied from interface:SimpleHeaderSet the text on the header level of the document.- Specified by:
setTextin interfaceSimpleHeader- Parameters:
text- the text to be set
-
clone
Instead of a shallow-copy this returns a deep-copy of this SimpleHeaderImpl instance.- Overrides:
clonein classBusinessObjectBase- Returns:
- a deep-copy of this SimpleHeader
-
getTypedExtensionMap
Description copied from interface:SimpleHeaderType safe getter for the extension map- Specified by:
getTypedExtensionMapin interfaceSimpleHeader- Returns:
- extension map attached to this header
-
toString
- Overrides:
toStringin classBusinessObjectBase
-