public enum CollectionSemantics extends Enum<CollectionSemantics>
| Modifier and Type | Method and Description |
|---|---|
static CollectionSemantics |
determine(org.apache.isis.core.metamodel.spec.feature.OneToManyAssociation collection) |
String |
getAddToKey() |
String |
getRemoveFromKey() |
static CollectionSemantics |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionSemantics[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionSemantics SET
public static final CollectionSemantics LIST
public static CollectionSemantics[] values()
for (CollectionSemantics c : CollectionSemantics.values()) System.out.println(c);
public static CollectionSemantics 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 getAddToKey()
public String getRemoveFromKey()
public static CollectionSemantics determine(org.apache.isis.core.metamodel.spec.feature.OneToManyAssociation collection)
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.