|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ManagedEntityState>
org.apache.stanbol.entityhub.servicesapi.model.ManagedEntityState
public enum ManagedEntityState
Enumeration that defines the different states of Entities managed by the Entityhub
| Enum Constant Summary | |
|---|---|
active
Symbols with that state are ready to be used. |
|
depreciated
This symbol should no longer be moved. |
|
proposed
Indicates usually a newly created Symbol that needs some kind
of confirmation. |
|
removed
This symbol is marked as removed |
|
| Method Summary | |
|---|---|
static ManagedEntityState |
getState(String uri)
Getter for the State based on the URI. |
String |
getUri()
|
static boolean |
isState(String uri)
|
String |
toString()
|
static ManagedEntityState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ManagedEntityState[] |
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 |
|---|
public static final ManagedEntityState removed
public static final ManagedEntityState depreciated
Symbol#getSuccessors() for more information
public static final ManagedEntityState proposed
Symbol that needs some kind
of confirmation.
public static final ManagedEntityState active
| Method Detail |
|---|
public static ManagedEntityState[] values()
for (ManagedEntityState c : ManagedEntityState.values()) System.out.println(c);
public static ManagedEntityState 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 String getUri()
public String toString()
toString in class Enum<ManagedEntityState>
public static ManagedEntityState getState(String uri)
throws IllegalArgumentException
uri - the URI
IllegalArgumentException - if the parsed URI does not represent
a statepublic static boolean isState(String uri)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||