Enum PluralityType
- java.lang.Object
-
- java.lang.Enum<PluralityType>
-
- net.n2oapp.framework.api.metadata.global.dao.object.PluralityType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PluralityType>
public enum PluralityType extends java.lang.Enum<PluralityType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description collectionlistsetsingle
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PluralityTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PluralityType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
single
public static final PluralityType single
-
collection
public static final PluralityType collection
-
list
public static final PluralityType list
-
set
public static final PluralityType set
-
-
Method Detail
-
values
public static PluralityType[] 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 (PluralityType c : PluralityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PluralityType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-