|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RequestTarget>
eu.scape_project.watch.domain.RequestTarget
public enum RequestTarget
Possible targets for a Request/Question.
| Enum Constant Summary | |
|---|---|
ENTITY
Target class is Entity. |
|
ENTITY_TYPE
Target class is EntityType. |
|
PROPERTY
Target class is Property. |
|
PROPERTY_VALUE
Target class is PropertyValue. |
|
| Method Summary | |
|---|---|
static Class<? extends thewebsemantic.binding.RdfBean<?>> |
getClassByTarget(RequestTarget target)
Get the class the target refers to. |
static RequestTarget |
getTargetByClass(Class<? extends thewebsemantic.binding.RdfBean<?>> targetClass)
Get request target based on the target class it refers to. |
Class<? extends thewebsemantic.binding.RdfBean<?>> |
getTargetClass()
Get the class this target refers to. |
static RequestTarget |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RequestTarget[] |
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, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RequestTarget ENTITY_TYPE
EntityType.
public static final RequestTarget PROPERTY
Property.
public static final RequestTarget ENTITY
Entity.
public static final RequestTarget PROPERTY_VALUE
PropertyValue.
| Method Detail |
|---|
public static RequestTarget[] values()
for (RequestTarget c : RequestTarget.values()) System.out.println(c);
public static RequestTarget valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static RequestTarget getTargetByClass(Class<? extends thewebsemantic.binding.RdfBean<?>> targetClass)
targetClass - The target class.
public static Class<? extends thewebsemantic.binding.RdfBean<?>> getClassByTarget(RequestTarget target)
target - The request target.
public Class<? extends thewebsemantic.binding.RdfBean<?>> getTargetClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||