public enum Rel extends Enum<Rel>
| Enum Constant and Description |
|---|
ACTION |
ACTION_PARAM |
ADD_TO |
ATTACHMENT |
CHOICE |
CLEAR |
COLLECTION |
CONTRIBUTED_BY |
DEFAULT |
DELETE |
DESCRIBEDBY |
DETAILS |
DOMAIN_TYPE |
DOMAIN_TYPES |
ELEMENT |
ELEMENT_TYPE |
HELP |
ICON |
INVOKE |
MODIFY |
NEXT |
PERSIST |
PREVIOUS |
PROPERTY |
REMOVE_FROM |
RETURN_TYPE |
SELF |
SERVICE |
SERVICES |
UP |
UPDATE |
USER |
VALUE |
VERSION |
| Modifier and Type | Method and Description |
|---|---|
String |
andParam(String paramName,
String paramValue)
For those
Rels that also take a param |
String |
getName() |
boolean |
matches(Rel otherRel) |
boolean |
matches(String otherRelStr) |
static Rel |
parse(String str) |
static Rel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rel DESCRIBEDBY
public static final Rel ACTION_PARAM
public static final Rel ATTACHMENT
public static final Rel COLLECTION
public static final Rel DOMAIN_TYPE
public static final Rel DOMAIN_TYPES
public static final Rel ELEMENT_TYPE
public static final Rel REMOVE_FROM
public static final Rel RETURN_TYPE
public static final Rel CONTRIBUTED_BY
public static Rel[] values()
for (Rel c : Rel.values()) System.out.println(c);
public static Rel 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 andParam(String paramName, String paramValue)
Rels that also take a paramCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.