public enum KeyType extends Enum<KeyType>
Java class for KeyType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="KeyType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="primary"/>
<enumeration value="internal"/>
<enumeration value="external"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
EXTERNAL
Tags a property as a key used as an external identifier for a Class.
|
INTERNAL
Tags a property as a key used as an internal identifier for a Class
|
PRIMARY
A key used as a primary identifier for the UML Class of the UML Property tagged with the SDOKey stereotype.
|
| Modifier and Type | Method and Description |
|---|---|
static KeyType |
fromValue(String v) |
String |
value() |
static KeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyType PRIMARY
public static final KeyType INTERNAL
public static final KeyType EXTERNAL
public static KeyType[] values()
for (KeyType c : KeyType.values()) System.out.println(c);
public static KeyType 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 value()
Copyright © 2019. All rights reserved.