public enum RelationshipCardinality extends Enum<RelationshipCardinality>
Enum Constant and Description |
---|
ONE_TO_MANY |
ONE_TO_ONE |
Modifier and Type | Method and Description |
---|---|
static RelationshipCardinality |
lookupByCardinality(String cardinality) |
static RelationshipCardinality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelationshipCardinality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelationshipCardinality ONE_TO_ONE
public static final RelationshipCardinality ONE_TO_MANY
public static RelationshipCardinality[] values()
for (RelationshipCardinality c : RelationshipCardinality.values()) System.out.println(c);
public static RelationshipCardinality 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 static RelationshipCardinality lookupByCardinality(String cardinality)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.