All Implemented Interfaces:
BackendAware, BusinessObject, MessageListHolder, ConnectedDocument, ConnectedObject, Serializable, Cloneable

public class ConnectedDocumentImpl extends ConnectedObjectImpl implements ConnectedDocument
The ConnectedDocument represents an entry in the document flow.
See Also:
  • Field Details

    • refGuid

      protected String refGuid
      Reference to related document
    • appTyp

      protected String appTyp
      Application type
    • docOrigin

      protected String docOrigin
      Document origen
  • Constructor Details

    • ConnectedDocumentImpl

      public ConnectedDocumentImpl()
  • Method Details

    • getRefGuid

      public String getRefGuid()
      Returns the document number
      Specified by:
      getRefGuid in interface ConnectedObject
      Returns:
      document number is used to identify the document in the backend
    • setRefGuid

      public void setRefGuid(String refGuid)
      Sets the document number
      Specified by:
      setRefGuid in interface ConnectedObject
      Parameters:
      refGuid - Reference GUID
    • getAppTyp

      public String getAppTyp()
      Returns the document number
      Specified by:
      getAppTyp in interface ConnectedDocument
      Returns:
      document type is used to identify the backend of the document (one order document (1) or from CRM billing (B)
    • setAppTyp

      public void setAppTyp(String appTyp)
      Sets the document type used to identify the back end of the document (one order document or from CRM billing)
      Specified by:
      setAppTyp in interface ConnectedDocument
      Parameters:
      appTyp - Document application type
    • setDocumentOrigin

      public void setDocumentOrigin(String docOrigin)
      Set the origin (e.g RFC destination) of a document
      Specified by:
      setDocumentOrigin in interface ConnectedObject
      Parameters:
      docOrigin - containing a documents origin
    • getDocumentOrigin

      public String getDocumentOrigin()
      Returns the origin (e.g RFC destination) of a document
      Specified by:
      getDocumentOrigin in interface ConnectedObject
      Returns:
      String containing a documents origin
    • getBusObjectType

      public String getBusObjectType()
      Description copied from interface: ConnectedObject
      Returns the business object type of the document.
      Specified by:
      getBusObjectType in interface ConnectedObject
      Returns:
      Business object type
    • setBusObjectType

      public void setBusObjectType(String busObjectType)
      Description copied from interface: ConnectedObject
      Sets the business object type of the document.
      Specified by:
      setBusObjectType in interface ConnectedObject
      Parameters:
      busObjectType - Business object type
    • clone

      public Object clone()
      Description copied from class: ConnectedObjectImpl
      Performs a deep-copy of the object rather than a shallow copy.
      Specified by:
      clone in interface ConnectedObject
      Overrides:
      clone in class ConnectedObjectImpl
      Returns:
      returns a deep copy