Class PeppolDocumentTypeId

  • All Implemented Interfaces:
    Serializable

    public class PeppolDocumentTypeId
    extends Object
    implements Serializable
    Represents a type safe PEPPOL Document Identifier, textually represented thus:

         <root NS>::<document element local name>##<customization id>::<version>
     
    Author:
    Steinar Overbeck Cook, Thore Johnsen
    See Also:
    "PEPPOL Policy for use of identifiers v3.0 of 2014-02-03", Serialized Form
    • Method Detail

      • valueOf

        public static PeppolDocumentTypeId valueOf​(String documentIdAsText)
        Parses the supplied text string into the separate components of a PEPPOL Document Identifier.
        Parameters:
        documentIdAsText - textual representation of a document identifier.
        Returns:
        type safe instance of DocumentTypeIdentifier
      • toString

        public String toString()
        Provides a textual representation of this document type identifier
        Overrides:
        toString in class Object
        Returns:
        textual value.
      • getRootNameSpace

        public String getRootNameSpace()
      • getLocalName

        public String getLocalName()
      • getVersion

        public String getVersion()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toVefa

        public network.oxalis.vefa.peppol.common.model.DocumentTypeIdentifier toVefa()