com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib
Enum TypeIdentifier

java.lang.Object
  extended by java.lang.Enum<TypeIdentifier>
      extended by com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.TypeIdentifier
All Implemented Interfaces:
Serializable, Comparable<TypeIdentifier>

public enum TypeIdentifier
extends Enum<TypeIdentifier>

Identifier for Sunrise data type identification.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

Enum Constant Summary
Bool
          Identifying a BoolType.
Double
          Identifying a DoubleType.
Float
          Identifying a FloatType.
Group
          Identifying a Group (complex) type.
Integer
          Identifying a IntegerType.
Numeric
          Identifying a NumericType.
String
          Identifying a CharType.
Unknown
          Identifying a UnknownType.
 
Method Summary
static TypeIdentifier fromName(String type)
          Constructs a type identifier for a name.
 int getId()
          Gets the id of the type identifier.
 String toString()
          
static TypeIdentifier valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TypeIdentifier[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Integer

public static final TypeIdentifier Integer
Identifying a IntegerType.


Float

public static final TypeIdentifier Float
Identifying a FloatType. We don't need the float, use double instead!


Double

public static final TypeIdentifier Double
Identifying a DoubleType.


Bool

public static final TypeIdentifier Bool
Identifying a BoolType.


String

public static final TypeIdentifier String
Identifying a CharType. We don't need the char!


Numeric

public static final TypeIdentifier Numeric
Identifying a NumericType.


Unknown

public static final TypeIdentifier Unknown
Identifying a UnknownType.


Group

public static final TypeIdentifier Group
Identifying a Group (complex) type.

Method Detail

values

public static TypeIdentifier[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TypeIdentifier c : TypeIdentifier.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TypeIdentifier 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

getId

public int getId()
Gets the id of the type identifier.

Returns:
The id of the type identifier.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

fromName

public static TypeIdentifier fromName(String type)
Constructs a type identifier for a name.

Parameters:
type - The type name.
Returns:
The corresponding type identifier.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

toString

public String toString()

Overrides:
toString in class Enum<TypeIdentifier>
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.


Copyright © 2019. All rights reserved.