public enum MappingState extends Enum<MappingState>
EntityMapping
instances.| Enum Constant and Description |
|---|
confirmed
Indicated, that this mapping is fully valied and can be used in any
application context
|
expired
This indicates that this mapping has expired.
|
proposed
Indicated, that a mapping of the entity to the symbol is proposed.
|
rejected
Mapping the entity to the symbol was rejected by some user/process.
|
| Modifier and Type | Method and Description |
|---|---|
static MappingState |
getState(String uri)
Getter for the State based on the URI.
|
String |
getUri() |
static boolean |
isState(String uri) |
String |
toString() |
static MappingState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MappingState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MappingState rejected
public static final MappingState proposed
public static final MappingState expired
confirmed but now waits for
some confirmation activity. Based on the application context it might
still be OK to use mappings with that state.public static final MappingState confirmed
public static MappingState[] values()
for (MappingState c : MappingState.values()) System.out.println(c);
public static MappingState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String getUri()
public String toString()
toString in class Enum<MappingState>public static MappingState getState(String uri) throws IllegalArgumentException
uri - the URIIllegalArgumentException - if the parsed URI does not represent
a statepublic static boolean isState(String uri)
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.