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

public class SimpleHeaderImpl extends BusinessObjectBase implements SimpleHeader
See Also:
  • Constructor Details

    • SimpleHeaderImpl

      public SimpleHeaderImpl()
  • Method Details

    • clear

      public void clear()
      Description copied from interface: SimpleHeader
      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.
      Specified by:
      clear in interface SimpleHeader
    • isDirty

      public boolean isDirty()
      Description copied from interface: SimpleHeader
      get the dirty flag
      Specified by:
      isDirty in interface SimpleHeader
      Returns:
      isDirty must the header be read from the backend true/false
    • setDirty

      public void setDirty(boolean isDirty)
      Description copied from interface: SimpleHeader
      Set the dirty flag
      Specified by:
      setDirty in interface SimpleHeader
      Parameters:
      isDirty - must the header be read from the backend true/false
    • getDescription

      public String getDescription()
      Description copied from interface: SimpleHeader
      Get description added on the header level.
      Specified by:
      getDescription in interface SimpleHeader
      Returns:
      description
    • getText

      public Text getText()
      Description copied from interface: SimpleHeader
      Get text on the header level of the document.
      Specified by:
      getText in interface SimpleHeader
      Returns:
      the text
    • setDescription

      public void setDescription(String description)
      Description copied from interface: SimpleHeader
      Sets the description on the header level.
      Specified by:
      setDescription in interface SimpleHeader
      Parameters:
      description - the description
    • setText

      public void setText(Text text)
      Description copied from interface: SimpleHeader
      Set the text on the header level of the document.
      Specified by:
      setText in interface SimpleHeader
      Parameters:
      text - the text to be set
    • clone

      public Object clone()
      Instead of a shallow-copy this returns a deep-copy of this SimpleHeaderImpl instance.
      Overrides:
      clone in class BusinessObjectBase
      Returns:
      a deep-copy of this SimpleHeader
    • getTypedExtensionMap

      public Map<String,Object> getTypedExtensionMap()
      Description copied from interface: SimpleHeader
      Type safe getter for the extension map
      Specified by:
      getTypedExtensionMap in interface SimpleHeader
      Returns:
      extension map attached to this header
    • toString

      public String toString()
      Overrides:
      toString in class BusinessObjectBase