org.apache.isis.viewer.restfulobjects.applib.links
Enum Rel
java.lang.Object
java.lang.Enum<Rel>
org.apache.isis.viewer.restfulobjects.applib.links.Rel
- All Implemented Interfaces:
- Serializable, Comparable<Rel>
public enum Rel
- extends Enum<Rel>
|
Method Summary |
String |
getName()
|
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. |
SELF
public static final Rel SELF
DESCRIBEDBY
public static final Rel DESCRIBEDBY
UP
public static final Rel UP
HELP
public static final Rel HELP
ICON
public static final Rel ICON
ICON16
public static final Rel ICON16
ICON32
public static final Rel ICON32
OBJECT
public static final Rel OBJECT
SERVICE
public static final Rel SERVICE
CHOICE
public static final Rel CHOICE
DEFAULT
public static final Rel DEFAULT
DETAILS
public static final Rel DETAILS
MODIFY
public static final Rel MODIFY
CLEAR
public static final Rel CLEAR
ADD_TO
public static final Rel ADD_TO
REMOVE_FROM
public static final Rel REMOVE_FROM
INVOKE
public static final Rel INVOKE
PERSIST
public static final Rel PERSIST
PROPERTY
public static final Rel PROPERTY
COLLECTION
public static final Rel COLLECTION
ACTION
public static final Rel ACTION
TYPE_ACTION
public static final Rel TYPE_ACTION
ACTION_PARAM
public static final Rel ACTION_PARAM
RETURN_TYPE
public static final Rel RETURN_TYPE
ELEMENT_TYPE
public static final Rel ELEMENT_TYPE
VERSION
public static final Rel VERSION
USER
public static final Rel USER
SERVICES
public static final Rel SERVICES
TYPES
public static final Rel TYPES
DOMAIN_TYPE
public static final Rel DOMAIN_TYPE
CONTRIBUTED_BY
public static final Rel CONTRIBUTED_BY
values
public static Rel[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Rel c : Rel.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Rel valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getName
public String getName()
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.