public static enum Property.Arity extends java.lang.Enum<Property.Arity>
Enum Constant and Description |
---|
MANY |
ONE |
ZERO_OR_ONE |
Modifier and Type | Method and Description |
---|---|
static Property.Arity |
getEnum(java.lang.String str) |
java.lang.String |
toString() |
static Property.Arity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Property.Arity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Property.Arity ZERO_OR_ONE
public static final Property.Arity ONE
public static final Property.Arity MANY
public static Property.Arity[] values()
for (Property.Arity c : Property.Arity.values()) System.out.println(c);
public static Property.Arity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Property.Arity>
public static Property.Arity getEnum(java.lang.String str)
Copyright © 2021 Dassault Systèmes, All Rights Reserved.