All Superinterfaces:
BusinessObject, Cloneable, MessageListHolder, Serializable
All Known Subinterfaces:
Header, HeaderBase
All Known Implementing Classes:
HeaderBaseImpl, HeaderSalesDocument, SimpleHeaderImpl

public interface SimpleHeader extends BusinessObject, Cloneable
This base class encapsulates the most common features of a header (e.g. a description).
  • 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

      void setDescription(String description)
      Sets the description on the header level.
      Parameters:
      description - the description
    • setText

      void setText(Text text)
      Set the text on the header level of the document.
      Parameters:
      text - the text to be set
    • getTypedExtensionMap

      Map<String,Object> getTypedExtensionMap()
      Type safe getter for the extension map
      Returns:
      extension map attached to this header