public class ParticipantId extends Object implements Serializable
SchemeId,
Serialized Form| Constructor and Description |
|---|
ParticipantId(network.oxalis.vefa.peppol.icd.api.Icd schemeId,
String organisationId)
Uses combination of SchemeId and Organisation identifier to create new instance.
|
ParticipantId(String participantId)
Constructs a new instance based upon a match of the following patterns :
xxxx:yyyyyy - i.e. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static boolean |
isValidParticipantIdentifierPattern(String value)
Simple syntax verifier, verifies icd prefix + code
|
String |
toString() |
network.oxalis.vefa.peppol.common.model.ParticipantIdentifier |
toVefa() |
static ParticipantId |
valueOf(String participantId)
Parses the provided participant identifier into a validated instance
of
ParticipantId |
public ParticipantId(String participantId)
xxxx:yyyyyy - i.e. a 4 digit ICD followed by a ':' followed by the organisationIDparticipantId - participant Id represented as a stringInvalidPeppolParticipantException - if we are unable to recognize the input as a PEPPOL participant IDpublic ParticipantId(network.oxalis.vefa.peppol.icd.api.Icd schemeId,
String organisationId)
schemeId - organisationId - public static ParticipantId valueOf(String participantId)
ParticipantIdparticipantId - The organisation number as xxxx:yyyy or just an organisation numberpublic static boolean isValidParticipantIdentifierPattern(String value)
public network.oxalis.vefa.peppol.common.model.ParticipantIdentifier toVefa()
Copyright © 2022 NorStella. All rights reserved.