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

    • QUALIFIERTYPE

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    • values

      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

      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

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

      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)