public static enum SqlTableSchema.SqlSchemaAttr extends java.lang.Enum<SqlTableSchema.SqlSchemaAttr> implements SchemaAttr
Enum Constant and Description |
---|
columnName |
fkDeleteRule |
sqlType |
sqlTypeName |
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.Enum |
defaultOption |
(package private) java.lang.String |
name |
(package private) java.util.Set<java.lang.String> |
options |
(package private) java.lang.Enum |
value |
Modifier and Type | Method and Description |
---|---|
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 SqlTableSchema.SqlSchemaAttr |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SqlTableSchema.SqlSchemaAttr[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlTableSchema.SqlSchemaAttr columnName
public static final SqlTableSchema.SqlSchemaAttr sqlType
public static final SqlTableSchema.SqlSchemaAttr sqlTypeName
public static final SqlTableSchema.SqlSchemaAttr fkDeleteRule
java.lang.String name
java.lang.Enum defaultOption
java.util.Set<java.lang.String> options
java.lang.Enum value
public static SqlTableSchema.SqlSchemaAttr[] values()
for (SqlTableSchema.SqlSchemaAttr c : SqlTableSchema.SqlSchemaAttr.values()) System.out.println(c);
public static SqlTableSchema.SqlSchemaAttr 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<SqlTableSchema.SqlSchemaAttr>
public java.util.Set<java.lang.String> getOptions()
SchemaAttr
getOptions
in interface SchemaAttr
@Nullable public java.lang.String getDefaultOption()
SchemaAttr
getDefaultOption
in interface SchemaAttr