public enum ResourceType extends java.lang.Enum<ResourceType>
Enum Constant and Description |
---|
CLASS |
DATATYPE_PROPERTY |
INSTANCE |
OBJECT_PROPERTY |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
static ResourceType |
fromString(java.lang.String type)
Returns a ResourceType constant from its string representation, or
UNDEFINED if the string is not recognized. |
static ResourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceType CLASS
public static final ResourceType INSTANCE
public static final ResourceType OBJECT_PROPERTY
public static final ResourceType DATATYPE_PROPERTY
public static final ResourceType UNDEFINED
public static ResourceType[] values()
for (ResourceType c : ResourceType.values()) System.out.println(c);
public static ResourceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ResourceType fromString(java.lang.String type)
UNDEFINED
if the string is not recognized.type
- the string representation of a ResourceTypeORO is a part of the OpenRobots framework.
openrobots@laas.fr
LAAS-CNRS 2009-2011