public class ColumnMetadata extends Object
| Constructor and Description |
|---|
ColumnMetadata(String name,
String type,
int size,
boolean nullable,
boolean key)
Instantiates a new column metadata.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKind()
Gets the kind.
|
String |
getName()
Gets the name.
|
int |
getSize()
Gets the size.
|
String |
getType()
Gets the type.
|
boolean |
isKey()
Checks if is key.
|
boolean |
isNullable()
Checks if is nullable.
|
void |
setKey(boolean key)
Sets the key.
|
void |
setKind(String kind)
Sets the kind.
|
void |
setName(String name)
Sets the name.
|
void |
setNullable(boolean nullable)
Sets the nullable.
|
void |
setSize(int size)
Sets the size.
|
void |
setType(String type)
Sets the type.
|
public String getName()
public void setName(String name)
name - the new namepublic String getType()
public void setType(String type)
type - the new typepublic int getSize()
public void setSize(int size)
size - the new sizepublic boolean isNullable()
public void setNullable(boolean nullable)
nullable - the new nullablepublic boolean isKey()
public void setKey(boolean key)
key - the new keypublic String getKind()
public void setKind(String kind)
kind - the new kindCopyright © 2010–2018 Eclipse Foundation. All rights reserved.