public static enum OneToManyFeature.CollectionSemantics extends Enum<OneToManyFeature.CollectionSemantics>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isArray()
The corresponding class is not a subclass of
Collection. |
boolean |
isList() |
boolean |
isListOrArray() |
boolean |
isOther()
For example,
Queue, or some other 3rdparty implementation of
Collection. |
boolean |
isSet() |
static OneToManyFeature.CollectionSemantics |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OneToManyFeature.CollectionSemantics[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OneToManyFeature.CollectionSemantics LIST
public static final OneToManyFeature.CollectionSemantics ARRAY
public static final OneToManyFeature.CollectionSemantics SET
public static final OneToManyFeature.CollectionSemantics OTHER
public static OneToManyFeature.CollectionSemantics[] values()
for (OneToManyFeature.CollectionSemantics c : OneToManyFeature.CollectionSemantics.values()) System.out.println(c);
public static OneToManyFeature.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 boolean isArray()
Collection.public boolean isList()
public boolean isSet()
public boolean isOther()
Queue, or some other 3rdparty implementation of
Collection.public boolean isListOrArray()
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.