Enum Class AasType.EntityType
java.lang.Object
java.lang.Enum<AasType.EntityType>
de.iip_ecosphere.platform.configuration.easyProducer.aas.AasType.EntityType
- All Implemented Interfaces:
Serializable,Comparable<AasType.EntityType>,Constable
- Enclosing class:
AasType
Represents the entity type.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFor co-managed entities there is no separate AAS.Self-Managed Entities have their own AAS but can be part of the bill of material of a composite self-managed entity. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AasType.EntityTypeReturns a contained constant or null.Returns the representing literal.static AasType.EntityTypeReturns the enum constant of this class with the specified name.static AasType.EntityTypevalueOfSafe(String value) Returns a matching constant or null.static AasType.EntityType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMANAGEDENTITY
For co-managed entities there is no separate AAS. Co-managed entities need to be part of a self-managed entity. -
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
-
-
Constructor Details
-
EntityType
Creates an instance.- Parameters:
literal- the identifying literal
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getLiteral
Returns the representing literal.- Returns:
- the literal
-
fromText
Returns a contained constant or null.- Parameters:
text- the text to look within- Returns:
- the constant or null
-
valueOfSafe
Returns a matching constant or null.- Parameters:
value- the value as text- Returns:
- the constant or null
-