public enum RelationshipType extends Enum<RelationshipType> implements Coded
| Enum Constant and Description |
|---|
UNKNOWN
use this flag with the static factory to get a
RelationshipType Unknown |
USAGE_ALLOWED
use this flag with the static factory to get a
RelationshipType Usage Allowed |
| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
VALID_TYPE_CODES
Set of valid type codes
|
| Modifier and Type | Method and Description |
|---|---|
static RelationshipType |
fromCode(String code)
Create a RelationshipType for the given code
|
String |
getCode()
Returns the operator code for this evaluation operator.
|
static RelationshipType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelationshipType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelationshipType UNKNOWN
RelationshipType Unknownpublic static final RelationshipType USAGE_ALLOWED
RelationshipType Usage Allowedpublic static final Set<String> VALID_TYPE_CODES
public static RelationshipType[] values()
for (RelationshipType c : RelationshipType.values()) System.out.println(c);
public static RelationshipType 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 static RelationshipType fromCode(String code)
code - to type the RelationshipTypeIllegalArgumentException - if the given code does not existCopyright © 2005–2016 The Kuali Foundation. All rights reserved.