PeppolProcessIdentifier extends ProcessIdentifierType implements
                                     IPeppolIdentifier,
                                     IProcessIdentifier,
                                     IMutableIdentifier,
                                     Comparable <PeppolProcessIdentifier>,
                                     ICloneable <PeppolProcessIdentifier> { public boolean hasDefaultScheme () { return hasScheme (PeppolIdentifierHelper.DEFAULT_PROCESS_SCHEME); } @DevelopersNote ("Don't invoke manually. Always use the IdentifierFactory!")  PeppolProcessIdentifier(@Nonnull final IProcessIdentifier aIdentifier); @DevelopersNote ("Don't invoke manually. Always use the IdentifierFactory!")  PeppolProcessIdentifier(@Nonnull final String sScheme, @Nonnull final String sValue); protected  PeppolProcessIdentifier(final boolean bVerified, @Nonnull final String sScheme, @Nonnull final String sValue); boolean hasDefaultScheme(); int compareTo(@Nonnull final PeppolProcessIdentifier aOther); @Override @Nonnull @ReturnsMutableCopy PeppolProcessIdentifier getClone(); @Override boolean equals(final Object o); @Override int hashCode(); @Nullable static PeppolProcessIdentifier createIfValid(@Nullable final String sScheme, @Nullable final String sValue);  }
@Test public void testHasDefaultProcessIdentifierScheme () { final IIdentifierFactory aIF = PeppolIdentifierFactory.INSTANCE; assertTrue (aIF.createProcessIdentifierWithDefaultScheme ("abc").hasScheme (PeppolIdentifierHelper.DEFAULT_PROCESS_SCHEME)); assertFalse (new PeppolProcessIdentifier ("proctype", "abc").hasDefaultScheme ()); }