Package de.prototypefund.en16931
Enum NodeSemantic.SemanticHeading
- java.lang.Object
-
- java.lang.Enum<NodeSemantic.SemanticHeading>
-
- de.prototypefund.en16931.NodeSemantic.SemanticHeading
-
- All Implemented Interfaces:
Serializable
,Comparable<NodeSemantic.SemanticHeading>
- Enclosing class:
- NodeSemantic
public static enum NodeSemantic.SemanticHeading extends Enum<NodeSemantic.SemanticHeading>
This enum contains all table header row label of the semantic object
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BT
Business Term: The name of the information element used in the core invoice model or the name of a coherent group of related information elements, provided to give logical meaning.CARD_S
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.DESC
A description of the semantic meaning of the information elementDT
The data format that applies to the information element (see EN 16931-1 - 6.5).ID
An identifier for the information element (BT - Business Term) and group of information elements (BG - Business terms Group).LEVEL
Indicates on which level in the model the information element occurs.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLabel()
static NodeSemantic.SemanticHeading
valueOf(String name)
Returns the enum constant of this type with the specified name.static NodeSemantic.SemanticHeading[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID
public static final NodeSemantic.SemanticHeading ID
An identifier for the information element (BT - Business Term) and group of information elements (BG - Business terms Group). The identifiers are not necessarily consecutive or in sequence.
-
LEVEL
public static final NodeSemantic.SemanticHeading LEVEL
Indicates on which level in the model the information element occurs.
-
CARD_S
public static final NodeSemantic.SemanticHeading CARD_S
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.
-
BT
public static final NodeSemantic.SemanticHeading BT
Business Term: The name of the information element used in the core invoice model or the name of a coherent group of related information elements, provided to give logical meaning.
-
DESC
public static final NodeSemantic.SemanticHeading DESC
A description of the semantic meaning of the information element
-
DT
public static final NodeSemantic.SemanticHeading DT
The data format that applies to the information element (see EN 16931-1 - 6.5).
-
-
Method Detail
-
values
public static NodeSemantic.SemanticHeading[] 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 (NodeSemantic.SemanticHeading c : NodeSemantic.SemanticHeading.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeSemantic.SemanticHeading 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.
-
-