Package de.prototypefund.en16931
Enum NodeSyntax.SyntaxHeading
- java.lang.Object
-
- java.lang.Enum<NodeSyntax.SyntaxHeading>
-
- de.prototypefund.en16931.NodeSyntax.SyntaxHeading
-
- All Implemented Interfaces:
Serializable
,Comparable<NodeSyntax.SyntaxHeading>
- Enclosing class:
- NodeSyntax
public static enum NodeSyntax.SyntaxHeading extends Enum<NodeSyntax.SyntaxHeading>
This enum contains all table header row label of all syntax
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CARD
Cardinality: Also known as multiplicity is used to indicate if an information element (or group of information elements) is mandatory or conditional, and if it is repeatable.MATCH
Level of Coverage (see EN 16931-1 Table 4.5)NAME
Only used at en16931-3-4 (EDIFACT) informative table headingPATH
Path within the syntax file (e.g.RULES
Remarks on RelationshipTYPE
Only used at en16931-3-2 and en16931-3-3 Typ — A = Attribut — C = Verbund — E = Element — G = Aggregat — S = Segment
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLabel()
static NodeSyntax.SyntaxHeading
valueOf(String name)
Returns the enum constant of this type with the specified name.static NodeSyntax.SyntaxHeading[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PATH
public static final NodeSyntax.SyntaxHeading PATH
Path within the syntax file (e.g. XPath within XML file)
-
TYPE
public static final NodeSyntax.SyntaxHeading TYPE
Only used at en16931-3-2 and en16931-3-3 Typ — A = Attribut — C = Verbund — E = Element — G = Aggregat — S = Segment
-
CARD
public static final NodeSyntax.SyntaxHeading CARD
Cardinality: Also known as multiplicity is used to indicate if an information element (or group of information elements) is mandatory or conditional, and if it is repeatable. The cardinality shall always be analysed in the context of where the information element is used. Example: the Payee Name is mandatory in the core invoice model, but only when a Payee is stated and is relevant.
-
NAME
public static final NodeSyntax.SyntaxHeading NAME
Only used at en16931-3-4 (EDIFACT) informative table heading
-
MATCH
public static final NodeSyntax.SyntaxHeading MATCH
Level of Coverage (see EN 16931-1 Table 4.5)
-
RULES
public static final NodeSyntax.SyntaxHeading RULES
Remarks on Relationship
-
-
Method Detail
-
values
public static NodeSyntax.SyntaxHeading[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NodeSyntax.SyntaxHeading c : NodeSyntax.SyntaxHeading.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeSyntax.SyntaxHeading valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getLabel
public String getLabel()
- Returns:
- the label of the header row of a semantic object.
-
-