Enum Class AasType.EntityType

java.lang.Object
java.lang.Enum<AasType.EntityType>
de.iip_ecosphere.platform.configuration.aas.AasType.EntityType
All Implemented Interfaces:
Serializable, Comparable<AasType.EntityType>, Constable
Enclosing class:
AasType

public static enum AasType.EntityType extends Enum<AasType.EntityType>
Represents the entity type.
Author:
Holger Eichelberger, SSE
  • Enum Constant Details

    • COMANAGEDENTITY

      public static final AasType.EntityType COMANAGEDENTITY
      For co-managed entities there is no separate AAS. Co-managed entities need to be part of a self-managed entity.
    • SELFMANAGEDENTITY

      public static final AasType.EntityType SELFMANAGEDENTITY
      Self-Managed Entities have their own AAS but can be part of the bill of material of a composite self-managed entity. The asset of an I4.0 Component is a self-managed entity per definition.
  • Field Details

    • literal

      private String literal
  • Constructor Details

    • EntityType

      private EntityType(String literal)
      Creates an instance.
      Parameters:
      literal - the identifying literal
  • Method Details

    • values

      public static AasType.EntityType[] 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 AasType.EntityType 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
    • getLiteral

      public String getLiteral()
      Returns the representing literal.
      Returns:
      the literal
    • fromText

      public static AasType.EntityType fromText(String text)
      Returns a contained constant or null.
      Parameters:
      text - the text to look within
      Returns:
      the constant or null
    • valueOfSafe

      public static AasType.EntityType valueOfSafe(String value)
      Returns a matching constant or null.
      Parameters:
      value - the value as text
      Returns:
      the constant or null