Interface SimpleHeader
- All Superinterfaces:
BusinessObject,Cloneable,MessageListHolder,Serializable
- All Known Subinterfaces:
Header,HeaderBase
- All Known Implementing Classes:
HeaderBaseImpl,HeaderSalesDocument,SimpleHeaderImpl
This base class encapsulates the most common features of a header (e.g. a description).
-
Field Summary
Fields inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
INVALID, VALID -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Drops the state of the object.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.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, setValidMethods inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
addMessage, clearMessages, getMessageList
-
Method Details
-
clear
void clear()Drops 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. -
isDirty
boolean isDirty()get the dirty flag- Returns:
- isDirty must the header be read from the backend true/false
-
setDirty
void setDirty(boolean isDirty) Set the dirty flag- Parameters:
isDirty- must the header be read from the backend true/false
-
getDescription
String getDescription()Get description added on the header level.- Returns:
- description
-
getText
Text getText()Get text on the header level of the document.- Returns:
- the text
-
setDescription
Sets the description on the header level.- Parameters:
description- the description
-
setText
Set the text on the header level of the document.- Parameters:
text- the text to be set
-
getTypedExtensionMap
Type safe getter for the extension map- Returns:
- extension map attached to this header
-