Enum NodeItemType
- java.lang.Object
-
- java.lang.Enum<NodeItemType>
-
- gov.nist.secauto.metaschema.core.metapath.item.node.NodeItemType
-
- All Implemented Interfaces:
Serializable
,Comparable<NodeItemType>
public enum NodeItemType extends Enum<NodeItemType>
This enumeration provides a listing of the available types ofINodeItem
implementations.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSEMBLY
DOCUMENT
AnINodeItem
based on data represented using a Metaschema-based model (@linkIDocumentNodeItem
}).FIELD
FLAG
METASCHEMA
AnINodeItem
based on a Metaschema (@linkIModuleNodeItem
}).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeItemType
valueOf(String name)
Returns the enum constant of this type with the specified name.static NodeItemType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
METASCHEMA
public static final NodeItemType METASCHEMA
AnINodeItem
based on a Metaschema (@linkIModuleNodeItem
}).
-
DOCUMENT
public static final NodeItemType DOCUMENT
AnINodeItem
based on data represented using a Metaschema-based model (@linkIDocumentNodeItem
}).
-
ASSEMBLY
public static final NodeItemType ASSEMBLY
-
FIELD
public static final NodeItemType FIELD
-
FLAG
public static final NodeItemType FLAG
-
-
Method Detail
-
values
public static NodeItemType[] 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 (NodeItemType c : NodeItemType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeItemType 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
-
-