Class HdocUtil.SAPDocId

  • Enclosing class:
    HdocUtil

    public static class HdocUtil.SAPDocId
    extends HdocUtil.DocId
    This class represents a SAP DocId.
    Author:
    dam
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String FLAG
      The SAP Doc ID Flag.
    • Constructor Summary

      Constructors 
      Constructor Description
      SAPDocId​(java.lang.String sapDocId)
      Instantiates a new sAP doc id.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getId()
      Gets the id.
      java.lang.String getSAPDocId()
      Gets the sAP doc id.
      boolean isLegal()
      Checks if is legal.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

    • Constructor Detail

      • SAPDocId

        public SAPDocId​(java.lang.String sapDocId)
        Instantiates a new sAP doc id.
        Parameters:
        sapDocId - the sap doc id
    • Method Detail

      • isLegal

        public boolean isLegal()
        Checks if is legal.
        Returns:
        true, if is legal
      • getSAPDocId

        public java.lang.String getSAPDocId()
        Gets the sAP doc id.
        Returns:
        the sAP doc id