Package ubic.basecode.ontology.model
Enum OntologyCardinalityRestriction.CardinalityType
- java.lang.Object
-
- java.lang.Enum<OntologyCardinalityRestriction.CardinalityType>
-
- ubic.basecode.ontology.model.OntologyCardinalityRestriction.CardinalityType
-
- All Implemented Interfaces:
Serializable
,Comparable<OntologyCardinalityRestriction.CardinalityType>
- Enclosing interface:
- OntologyCardinalityRestriction
public static enum OntologyCardinalityRestriction.CardinalityType extends Enum<OntologyCardinalityRestriction.CardinalityType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CARDINALITY
MAX_CARDINALITY
MIN_CARDINALITY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OntologyCardinalityRestriction.CardinalityType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OntologyCardinalityRestriction.CardinalityType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CARDINALITY
public static final OntologyCardinalityRestriction.CardinalityType CARDINALITY
-
MAX_CARDINALITY
public static final OntologyCardinalityRestriction.CardinalityType MAX_CARDINALITY
-
MIN_CARDINALITY
public static final OntologyCardinalityRestriction.CardinalityType MIN_CARDINALITY
-
-
Method Detail
-
values
public static OntologyCardinalityRestriction.CardinalityType[] 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 (OntologyCardinalityRestriction.CardinalityType c : OntologyCardinalityRestriction.CardinalityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OntologyCardinalityRestriction.CardinalityType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-