public enum MemberType extends Enum<MemberType>
| Type | Property and Description |
|---|---|
boolean |
is |
| Enum Constant and Description |
|---|
ACTION
getMutators() are keyed by
ActionSemantics#getInvokeKey() |
COLLECTION
getMutators() are keyed by
CollectionSemantics.getAddToKey() |
PROPERTY |
| Modifier and Type | Method and Description |
|---|---|
static MemberType |
determineFrom(org.apache.isis.core.metamodel.spec.feature.ObjectFeature objectFeature) |
Map<String,MutatorSpec> |
getMutators() |
String |
getName() |
org.apache.isis.viewer.restfulobjects.applib.RepresentationType |
getRepresentationType() |
String |
getUrlPart() |
boolean |
isAction() |
boolean |
isCollection() |
boolean |
isProperty() |
static MemberType |
lookup(String memberTypeName) |
static MemberType |
of(org.apache.isis.core.metamodel.spec.feature.ObjectMember objectMember) |
abstract org.apache.isis.core.metamodel.spec.ObjectSpecification |
specFor(org.apache.isis.core.metamodel.spec.feature.ObjectMember objectMember) |
static MemberType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemberType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemberType PROPERTY
public static final MemberType COLLECTION
getMutators() are keyed by
CollectionSemantics.getAddToKey()public static final MemberType ACTION
getMutators() are keyed by
ActionSemantics#getInvokeKey()public static MemberType[] values()
for (MemberType c : MemberType.values()) System.out.println(c);
public static MemberType 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 getUrlPart()
public Map<String,MutatorSpec> getMutators()
public abstract org.apache.isis.core.metamodel.spec.ObjectSpecification specFor(org.apache.isis.core.metamodel.spec.feature.ObjectMember objectMember)
public boolean isProperty()
public boolean isCollection()
public boolean isAction()
public static MemberType lookup(String memberTypeName)
public static MemberType of(org.apache.isis.core.metamodel.spec.feature.ObjectMember objectMember)
public org.apache.isis.viewer.restfulobjects.applib.RepresentationType getRepresentationType()
public static MemberType determineFrom(org.apache.isis.core.metamodel.spec.feature.ObjectFeature objectFeature)
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.