public static enum RecordAssociation.Multiplicity extends Enum<RecordAssociation.Multiplicity>
Enum Constant and Description |
---|
LIST
List.
|
SET
Set.
|
SINGLE
Single.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isMany()
REturns true if this is the many side.
|
boolean |
isOne()
Returns true if this is the one side.
|
static RecordAssociation.Multiplicity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordAssociation.Multiplicity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecordAssociation.Multiplicity SINGLE
public static final RecordAssociation.Multiplicity SET
public static final RecordAssociation.Multiplicity LIST
public static RecordAssociation.Multiplicity[] values()
for (RecordAssociation.Multiplicity c : RecordAssociation.Multiplicity.values()) System.out.println(c);
public static RecordAssociation.Multiplicity 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 isOne()
public boolean isMany()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.