Class PeppolDocumentTypeId
- java.lang.Object
-
- network.oxalis.sniffer.identifier.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
-
-
Constructor Summary
Constructors Constructor Description PeppolDocumentTypeId(String rootNameSpace, String localName, CustomizationIdentifier customizationIdentifier, String version)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)CustomizationIdentifiergetCustomizationIdentifier()StringgetLocalName()StringgetRootNameSpace()StringgetVersion()inthashCode()StringtoString()Provides a textual representation of this document type identifiernetwork.oxalis.vefa.peppol.common.model.DocumentTypeIdentifiertoVefa()static PeppolDocumentTypeIdvalueOf(String documentIdAsText)Parses the supplied text string into the separate components of a PEPPOL Document Identifier.
-
-
-
Constructor Detail
-
PeppolDocumentTypeId
public PeppolDocumentTypeId(String rootNameSpace, String localName, CustomizationIdentifier customizationIdentifier, String version)
-
-
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
-
getRootNameSpace
public String getRootNameSpace()
-
getLocalName
public String getLocalName()
-
getCustomizationIdentifier
public CustomizationIdentifier getCustomizationIdentifier()
-
getVersion
public String getVersion()
-
toVefa
public network.oxalis.vefa.peppol.common.model.DocumentTypeIdentifier toVefa()
-
-