Package net.aifusion.metamodel
Enum ElementType
- All Implemented Interfaces:
Serializable
,Comparable<ElementType>
,java.lang.constant.Constable
Enumeration containing Type definitions for CIM elements
- Author:
- Sharad Singhal
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionElement is a CIM Association (only used for CimV.2 parsing)Element is a CIM ClassElement is a CIM EnumerationElement is a CIM Enumeration ValueElement is a CIM Indication (only used for CimV.2 parsing)Element is a CIM InstanceElement is a CIM InterfaceElement is a CIM MethodElement is a CIM ParameterElement is a CIM PropertyElement is a CIM QualifierElement is a CIM Qualifier TypeElement is a CIM ReferenceElement is a CIM SchemaElement is a CIM StructureElement is a CIM Structure value -
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if this elementType represents a Named ElementtoMOF()
Return the MOF string for this element.static ElementType
Returns the enum constant of this type with the specified name.static ElementType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
QUALIFIERTYPE
Element is a CIM Qualifier Type -
STRUCTURE
Element is a CIM Structure -
STRUCTUREVALUE
Element is a CIM Structure value -
ENUMERATION
Element is a CIM Enumeration -
ENUMERATIONVALUE
Element is a CIM Enumeration Value -
INTERFACE
Element is a CIM Interface -
ASSOCIATION
Element is a CIM Association (only used for CimV.2 parsing) -
CLASS
Element is a CIM Class -
INSTANCE
Element is a CIM Instance -
QUALIFIER
Element is a CIM Qualifier -
PARAMETER
Element is a CIM Parameter -
METHOD
Element is a CIM Method -
PROPERTY
Element is a CIM Property -
REFERENCE
Element is a CIM Reference -
INDICATION
Element is a CIM Indication (only used for CimV.2 parsing) -
SCHEMA
Element is a CIM Schema
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
isNamedElement
public boolean isNamedElement()Check if this elementType represents a Named Element- Returns:
- true if this element type is a named element
-
toMOF
Return the MOF string for this element.- Returns:
- - MOF string for this element. Empty for elements that are not top-level elements (Class, Association, Structure, Enumeration, Interface, Qualifier)
-