org.apache.isis.viewer.restfulobjects.applib
Enum RestfulRequest.DomainModel
java.lang.Object
java.lang.Enum<RestfulRequest.DomainModel>
org.apache.isis.viewer.restfulobjects.applib.RestfulRequest.DomainModel
- All Implemented Interfaces:
- Serializable, Comparable<RestfulRequest.DomainModel>
- Enclosing class:
- RestfulRequest
public static enum RestfulRequest.DomainModel
- extends Enum<RestfulRequest.DomainModel>
NONE
public static final RestfulRequest.DomainModel NONE
SIMPLE
public static final RestfulRequest.DomainModel SIMPLE
FORMAL
public static final RestfulRequest.DomainModel FORMAL
SELECTABLE
public static final RestfulRequest.DomainModel SELECTABLE
values
public static RestfulRequest.DomainModel[] 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 (RestfulRequest.DomainModel c : RestfulRequest.DomainModel.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RestfulRequest.DomainModel 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
parser
public static Parser<RestfulRequest.DomainModel> parser()
toString
public String toString()
- Overrides:
toString in class Enum<RestfulRequest.DomainModel>
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.