Enum ElementType

java.lang.Object
java.lang.Enum<ElementType>
net.aifusion.metamodel.ElementType
All Implemented Interfaces:
Serializable, Comparable<ElementType>, java.lang.constant.Constable

public enum ElementType extends Enum<ElementType>
Enumeration containing Type definitions for CIM elements
Author:
Sharad Singhal
  • Enum Constant Details Link icon

    • QUALIFIERTYPE Link icon

      public static final ElementType QUALIFIERTYPE
      Element is a CIM Qualifier Type
    • STRUCTURE Link icon

      public static final ElementType STRUCTURE
      Element is a CIM Structure
    • STRUCTUREVALUE Link icon

      public static final ElementType STRUCTUREVALUE
      Element is a CIM Structure value
    • ENUMERATION Link icon

      public static final ElementType ENUMERATION
      Element is a CIM Enumeration
    • ENUMERATIONVALUE Link icon

      public static final ElementType ENUMERATIONVALUE
      Element is a CIM Enumeration Value
    • INTERFACE Link icon

      public static final ElementType INTERFACE
      Element is a CIM Interface
    • ASSOCIATION Link icon

      public static final ElementType ASSOCIATION
      Element is a CIM Association (only used for CimV.2 parsing)
    • CLASS Link icon

      public static final ElementType CLASS
      Element is a CIM Class
    • INSTANCE Link icon

      public static final ElementType INSTANCE
      Element is a CIM Instance
    • QUALIFIER Link icon

      public static final ElementType QUALIFIER
      Element is a CIM Qualifier
    • PARAMETER Link icon

      public static final ElementType PARAMETER
      Element is a CIM Parameter
    • METHOD Link icon

      public static final ElementType METHOD
      Element is a CIM Method
    • PROPERTY Link icon

      public static final ElementType PROPERTY
      Element is a CIM Property
    • REFERENCE Link icon

      public static final ElementType REFERENCE
      Element is a CIM Reference
    • INDICATION Link icon

      public static final ElementType INDICATION
      Element is a CIM Indication (only used for CimV.2 parsing)
    • SCHEMA Link icon

      public static final ElementType SCHEMA
      Element is a CIM Schema
  • Method Details Link icon

    • values Link icon

      public static ElementType[] 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 Link icon

      public static ElementType 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 name
      NullPointerException - if the argument is null
    • isNamedElement Link icon

      public boolean isNamedElement()
      Check if this elementType represents a Named Element
      Returns:
      true if this element type is a named element
    • toMOF Link icon

      public String 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)