PeppolDocumentTypeIdentifier extends DocumentIdentifierType implements
                                          IPeppolIdentifier,
                                          IMutableIdentifier,
                                          IDocumentTypeIdentifier,
                                          Comparable <PeppolDocumentTypeIdentifier>,
                                          ICloneable <PeppolDocumentTypeIdentifier> { @Nonnull public IPeppolDocumentTypeIdentifierParts getParts () { return PeppolDocumentTypeIdentifierParts.extractFromIdentifier (this); } @DevelopersNote ("Don't invoke manually. Always use the IdentifierFactory!")  PeppolDocumentTypeIdentifier(@Nonnull final IDocumentTypeIdentifier aIdentifier); @DevelopersNote ("Don't invoke manually. Always use the IdentifierFactory!")  PeppolDocumentTypeIdentifier(@Nullable final String sScheme, @Nonnull final String sValue); protected  PeppolDocumentTypeIdentifier(final boolean bVerified, @Nonnull final String sScheme, @Nonnull final String sValue); boolean hasDefaultScheme(); int compareTo(@Nonnull final PeppolDocumentTypeIdentifier aOther); @Nonnull IPeppolDocumentTypeIdentifierParts getParts(); @Override @Nonnull @ReturnsMutableCopy PeppolDocumentTypeIdentifier getClone(); @Override boolean equals(final Object o); @Override int hashCode(); @Nullable static PeppolDocumentTypeIdentifier createIfValid(@Nullable final String sScheme, @Nullable final String sValue);  }
@Test public void testGetParts () { for (final EPredefinedDocumentTypeIdentifier e : EPredefinedDocumentTypeIdentifier.values ()) { final PeppolDocumentTypeIdentifier aDocTypeID = new PeppolDocumentTypeIdentifier (e); final IBusdoxDocumentTypeIdentifierParts aParts = aDocTypeID.getParts (); assertNotNull (aParts); assertEquals (aDocTypeID.getValue (), aParts.getAsDocumentTypeIdentifierValue ()); } }