public enum DefinedRelationType extends Enum<DefinedRelationType>
Java class for DefinedRelationType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DefinedRelationType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="family:Parent"/>
<enumeration value="family:Child"/>
<enumeration value="family:Sibling"/>
<enumeration value="family:Grandparent"/>
<enumeration value="family:Grandchild"/>
<enumeration value="family:Spouse"/>
<enumeration value="function:LegalGuardian"/>
<enumeration value="function:IsGuardedBy"/>
<enumeration value="function:Cohabitant"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
FAMILY_CHILD |
FAMILY_GRANDCHILD |
FAMILY_GRANDPARENT |
FAMILY_PARENT |
FAMILY_SIBLING |
FAMILY_SPOUSE |
FUNCTION_COHABITANT |
FUNCTION_IS_GUARDED_BY |
FUNCTION_LEGAL_GUARDIAN |
| Modifier and Type | Method and Description |
|---|---|
static DefinedRelationType |
fromValue(String v) |
String |
value() |
static DefinedRelationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefinedRelationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefinedRelationType FAMILY_PARENT
public static final DefinedRelationType FAMILY_CHILD
public static final DefinedRelationType FAMILY_SIBLING
public static final DefinedRelationType FAMILY_GRANDPARENT
public static final DefinedRelationType FAMILY_GRANDCHILD
public static final DefinedRelationType FAMILY_SPOUSE
public static final DefinedRelationType FUNCTION_LEGAL_GUARDIAN
public static final DefinedRelationType FUNCTION_IS_GUARDED_BY
public static final DefinedRelationType FUNCTION_COHABITANT
public static DefinedRelationType[] values()
for (DefinedRelationType c : DefinedRelationType.values()) System.out.println(c);
public static DefinedRelationType 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()
public static DefinedRelationType fromValue(String v)
Copyright © 2016. All rights reserved.