public enum RelType extends Enum<RelType>
| Enum Constant and Description |
|---|
DCTERMS_HASPART |
DCTERMS_ISPARTOF |
EDM_ISNEXTINSEQUENCE |
ISFAKEORDER |
ISFIRSTINSEQUENCE |
ISLASTINSEQUENCE |
| Modifier and Type | Method and Description |
|---|---|
static RelType |
getByRelType(String relType)
Get the Relation based on a string
|
String |
getRelType()
Get the relation type
|
static RelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelType EDM_ISNEXTINSEQUENCE
public static final RelType DCTERMS_ISPARTOF
public static final RelType DCTERMS_HASPART
public static final RelType ISFIRSTINSEQUENCE
public static final RelType ISLASTINSEQUENCE
public static final RelType ISFAKEORDER
public static RelType[] values()
for (RelType c : RelType.values()) System.out.println(c);
public static RelType 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 getRelType()
public static RelType getByRelType(String relType) throws InvalidAttributeValueException
relType - The relation to search onInvalidAttributeValueExceptionCopyright © 2017 Europeana Foundation. All rights reserved.