java.lang.Object
java.lang.Enum<AasSmeType>
de.iip_ecosphere.platform.configuration.easyProducer.aas.AasSmeType
All Implemented Interfaces:
Serializable, Comparable<AasSmeType>, Constable

enum AasSmeType extends Enum<AasSmeType>
Denotes potential AasType and AasField (meta) types.
Author:
Holger Eichelberger, SSE
  • Enum Constant Details

    • AAS

      public static final AasSmeType AAS
    • SUBMODEL

      public static final AasSmeType SUBMODEL
    • SUBMODEL_LIST

      public static final AasSmeType SUBMODEL_LIST
    • SUBMODEL_ELEMENT_COLLECTION

      public static final AasSmeType SUBMODEL_ELEMENT_COLLECTION
    • SUBMODEL_ELEMENT_LIST

      public static final AasSmeType SUBMODEL_ELEMENT_LIST
    • SUBMODEL_ELEMENT

      public static final AasSmeType SUBMODEL_ELEMENT
    • PROPERTY

      public static final AasSmeType PROPERTY
    • MULTI_LANGUAGE_PROPERTY

      public static final AasSmeType MULTI_LANGUAGE_PROPERTY
    • LANG_STRING

      public static final AasSmeType LANG_STRING
    • ENTITY

      public static final AasSmeType ENTITY
    • RELATION

      public static final AasSmeType RELATION
    • REFERENCE

      public static final AasSmeType REFERENCE
    • BLOB

      public static final AasSmeType BLOB
    • RANGE

      public static final AasSmeType RANGE
    • OPERATION

      public static final AasSmeType OPERATION
    • FILE

      public static final AasSmeType FILE
  • Field Details

    • TYPE_TRANSLATION

      private static final Map<String,AasSmeType> TYPE_TRANSLATION
    • isType

      private boolean isType
  • Constructor Details

    • AasSmeType

      private AasSmeType(boolean isType)
      Creates a constant.
      Parameters:
      isType - whether the constant represents a type (also then in IVML)
  • Method Details

    • values

      public static AasSmeType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AasSmeType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • isType

      public boolean isType()
      Returns whether this SME type represents a type (also then in IVML).
      Returns:
      true for type, false for operation, property, etc.
    • toType

      public static AasSmeType toType(String data)
      Turns the string value into a constant.
      Parameters:
      data - the data
      Returns:
      the constant, may be null
    • getLogger

      private static de.iip_ecosphere.platform.support.logging.Logger getLogger()
      Returns the logger instance for this class.
      Returns:
      the logger instance