public static final class Type.Column extends Object implements Serializable
| Constructor and Description |
|---|
Type.Column(String name,
Class<?> type,
List<String> properties)
Creates a
Type.Column object with the specified metadata. |
Type.Column(String name,
Class<?> type,
String... properties)
Creates a
Type.Column object with the specified metadata. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName()
Gets the name of the column.
|
List<String> |
getProperties()
Gets the list of properties that apply to the column.
|
Class<?> |
getType()
Gets the Java data type of the column.
|
int |
hashCode() |
boolean |
isNullable()
Gets whether the column is nullable.
|
String |
toString() |
public Type.Column(String name, Class<?> type, String... properties)
Type.Column object with the specified metadata.name - the name of the columntype - the Java data type of the columnproperties - the list of properties that apply to the column;
defaults to noneIllegalArgumentException - if name or any
properties are invalid, or if type is not one of the
following: ByteBuffer, Double, Float,
Integer, Long, or StringColumnPropertypublic Type.Column(String name, Class<?> type, List<String> properties)
Type.Column object with the specified metadata.name - the name of the columntype - the Java data type of the columnproperties - the list of properties that apply to the column;
defaults to noneIllegalArgumentException - if name or any
properties are invalid, or if type is not one of the
following: ByteBuffer, Double, Float,
Integer, Long, or StringColumnPropertypublic String getName()
public Class<?> getType()
public boolean isNullable()
public List<String> getProperties()
ColumnPropertyCopyright © 2017. All rights reserved.