Class SimpleHeaderImpl

    • Constructor Detail

      • SimpleHeaderImpl

        public SimpleHeaderImpl()
    • Method Detail

      • 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 java.lang.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​(java.lang.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 java.lang.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 java.util.Map<java.lang.String,​java.lang.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