public enum EPeppolSBDHDocumentReadError extends Enum<EPeppolSBDHDocumentReadError> implements com.helger.commons.id.IHasID<String>
| Enum Constant and Description |
|---|
BUSINESS_SCOPE_MISSING
The "BusinessScope" element is missing
|
INVALID_BUSINESS_MESSAGE
The main business message is invalid
|
INVALID_BUSINESS_MESSAGE_TYPE
The main business message must be an XML element
|
INVALID_CREATION_DATE_TIME
The value of the "DocumentIdentification/CreationDateAndTime" element is
invalid
|
INVALID_DOCUMENT_TYPE_IDENTIFIER
The provided document type identifier is invalid
|
INVALID_HEADER_VERSION
The "HeaderVersion" element has an illegal value
|
INVALID_INSTANCE_IDENTIFIER
The value of the "DocumentIdentification/InstanceIdentifier" element is
invalid
|
INVALID_PROCESS_IDENTIFIER
The provided process identifier is invalid
|
INVALID_RECEIVER_AUTHORITY
The "Receiver/Identifier/Authority" attribute has an invalid value
|
INVALID_RECEIVER_COUNT
Not exactly one "Receiver" element is present
|
INVALID_RECEIVER_VALUE
The "Receiver/Identifier" has an invalid value
|
INVALID_SBD_XML
Failed to interpret StandardBusinessDocument as XML
|
INVALID_SCOPE_COUNT
At least two "BusinessScope/Scope" elements must be present
|
INVALID_SENDER_AUTHORITY
The "Sender/Identifier/Authority" attribute has an invalid value
|
INVALID_SENDER_COUNT
Not exactly one "Sender" element is present
|
INVALID_SENDER_VALUE
The "Sender/Identifier" has an invalid value
|
INVALID_STANDARD
The value of the "DocumentIdentification/Standard" element is invalid
|
INVALID_TYPE
The value of the "DocumentIdentification/Type" element is invalid
|
INVALID_TYPE_VERSION
The value of the "DocumentIdentification/TypeVersion" element is invalid
|
MISSING_DOCUMENT_TYPE_IDENTIFIER
The document type identifier is missing
|
MISSING_PROCESS_IDENTIFIER
The process identifier is missing
|
MISSING_SBDH
The StandardBusinessDocumentHeader element is not present
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessage() |
static EPeppolSBDHDocumentReadError |
getFromIDOrNull(String sID) |
String |
getID() |
static EPeppolSBDHDocumentReadError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EPeppolSBDHDocumentReadError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EPeppolSBDHDocumentReadError INVALID_SBD_XML
public static final EPeppolSBDHDocumentReadError MISSING_SBDH
public static final EPeppolSBDHDocumentReadError INVALID_HEADER_VERSION
public static final EPeppolSBDHDocumentReadError INVALID_SENDER_COUNT
public static final EPeppolSBDHDocumentReadError INVALID_SENDER_AUTHORITY
public static final EPeppolSBDHDocumentReadError INVALID_SENDER_VALUE
public static final EPeppolSBDHDocumentReadError INVALID_RECEIVER_COUNT
public static final EPeppolSBDHDocumentReadError INVALID_RECEIVER_AUTHORITY
public static final EPeppolSBDHDocumentReadError INVALID_RECEIVER_VALUE
public static final EPeppolSBDHDocumentReadError BUSINESS_SCOPE_MISSING
public static final EPeppolSBDHDocumentReadError INVALID_SCOPE_COUNT
public static final EPeppolSBDHDocumentReadError INVALID_DOCUMENT_TYPE_IDENTIFIER
public static final EPeppolSBDHDocumentReadError INVALID_PROCESS_IDENTIFIER
public static final EPeppolSBDHDocumentReadError MISSING_DOCUMENT_TYPE_IDENTIFIER
public static final EPeppolSBDHDocumentReadError MISSING_PROCESS_IDENTIFIER
public static final EPeppolSBDHDocumentReadError INVALID_BUSINESS_MESSAGE_TYPE
public static final EPeppolSBDHDocumentReadError INVALID_BUSINESS_MESSAGE
public static final EPeppolSBDHDocumentReadError INVALID_STANDARD
public static final EPeppolSBDHDocumentReadError INVALID_TYPE_VERSION
public static final EPeppolSBDHDocumentReadError INVALID_TYPE
public static final EPeppolSBDHDocumentReadError INVALID_INSTANCE_IDENTIFIER
public static final EPeppolSBDHDocumentReadError INVALID_CREATION_DATE_TIME
public static EPeppolSBDHDocumentReadError[] values()
for (EPeppolSBDHDocumentReadError c : EPeppolSBDHDocumentReadError.values()) System.out.println(c);
public static EPeppolSBDHDocumentReadError valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nonnull @Nonempty public String getID()
getID in interface com.helger.commons.id.IHasID<String>@Nullable public static EPeppolSBDHDocumentReadError getFromIDOrNull(@Nullable String sID)
Copyright © 2014–2018 Philip Helger. All rights reserved.