public enum BasicSchemaAttr extends java.lang.Enum<BasicSchemaAttr> implements SchemaAttr
| Modifier and Type | Class and Description |
|---|---|
static class |
BasicSchemaAttr.Option |
| Enum Constant and Description |
|---|
autoGenerated |
defaultValue |
isNullable |
key |
parentKey |
parentSchema |
size |
type |
| Modifier and Type | Method and Description |
|---|---|
static SchemaAttr |
fromString(java.lang.String attr) |
java.lang.String |
getDefaultOption()
Retrieve the default option for the attribute
|
java.util.Set<java.lang.String> |
getOptions()
Retrieve the list of options this attribute can have
|
java.lang.String |
toString() |
static BasicSchemaAttr |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BasicSchemaAttr[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BasicSchemaAttr type
public static final BasicSchemaAttr parentSchema
public static final BasicSchemaAttr parentKey
public static final BasicSchemaAttr autoGenerated
public static final BasicSchemaAttr key
public static final BasicSchemaAttr defaultValue
public static final BasicSchemaAttr isNullable
public static final BasicSchemaAttr size
public static BasicSchemaAttr[] values()
for (BasicSchemaAttr c : BasicSchemaAttr.values()) System.out.println(c);
public static BasicSchemaAttr 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 null@NotNull public java.util.Set<java.lang.String> getOptions()
SchemaAttrgetOptions in interface SchemaAttrpublic java.lang.String getDefaultOption()
SchemaAttrgetDefaultOption in interface SchemaAttrpublic static SchemaAttr fromString(java.lang.String attr)
public java.lang.String toString()
toString in class java.lang.Enum<BasicSchemaAttr>