oracle.dmt.odm
Class LocationEqualityLevel
java.lang.Object
|
+--oracle.dmt.odm.Enum
|
+--oracle.dmt.odm.LocationEqualityLevel
- All Implemented Interfaces:
- java.io.Serializable
- public class LocationEqualityLevel
- extends Enum
The enumeration class LocationEqualityLevel is used to specify the degree of equality between two LocationAccessData instances.
The semantics of the value are as follows:
- schemaLevel -
LocationAcessData instances are equal if the schema values are exact matches.
- exactMatch -
LocationAcessData instances are equal if all attribues are exact matches.
- Since:
- 9.0.1
- See Also:
- Serialized Form
| Method Summary |
static LocationEqualityLevel |
getInstance(int id)
Returns LocationEqualityLevel enumeration object corresponding to the specified ID. |
static LocationEqualityLevel |
getInstance(java.lang.String name)
Returns LocationEqualityLevel enumeration object corresponding to the specified name. |
static LocationEqualityLevel[] |
list()
Returns list of all LocationEqualityLevel enumerations defined. |
static java.lang.String[] |
listNames()
Returns list the names of all LocationEqualityLevel enumerations defined. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
schemaLevel
public static final LocationEqualityLevel schemaLevel
LocationAcessData instances are equal if the schema values are exact matches. (Other attributes may differ.)
exactMatch
public static final LocationEqualityLevel exactMatch
LocationAcessData instances are equal if all attribues are exact matches.
listNames
public static java.lang.String[] listNames()
- Returns list the names of all
LocationEqualityLevel enumerations defined.
-
- Returns:
- array of names for the
LocationEqualityLevel enumeration
list
public static LocationEqualityLevel[] list()
- Returns list of all
LocationEqualityLevel enumerations defined.
-
- Returns:
- array of enumeration values for the
LocationEqualityLevel enumeration
getInstance
public static LocationEqualityLevel getInstance(java.lang.String name)
- Returns
LocationEqualityLevel enumeration object corresponding to the specified name.
-
- Parameters:
name - location equality level name (schemaLevel, exactMatch)
- Returns:
- instance of the
LocationEqualityLevel enumeration object corresponding to the given name, null if there is no enumeration for this name.
getInstance
public static LocationEqualityLevel getInstance(int id)
- Returns
LocationEqualityLevel enumeration object corresponding to the specified ID.
-
- Parameters:
id - location equality level id
- Returns:
- instance of the enumeration object corresponding to the given id, null if there is no enumeration for id.