|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sitools.datasource.jdbc.model.Attribute
public final class Attribute
Class for definition of a table attribute
| Constructor Summary | |
|---|---|
Attribute()
Default constructor |
|
Attribute(java.lang.String name,
java.lang.String type,
int size)
Constructor (full) |
|
Attribute(java.lang.String name,
java.lang.String type,
int size,
short javaSqlType)
Constructor (full) |
|
| Method Summary | |
|---|---|
short |
getJavaSqlType()
Gets the javaSqlType value |
java.lang.String |
getName()
Gets the name value |
int |
getSize()
Gets the size value |
java.lang.String |
getType()
Gets the type value |
void |
setJavaSqlType(short javaSqlType)
Sets the value of javaSqlType |
void |
setName(java.lang.String name)
Sets the value of name |
void |
setSize(int size)
Sets the value of size |
void |
setType(java.lang.String type)
Sets the value of type |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Attribute(java.lang.String name,
java.lang.String type,
int size)
name - nametype - typesize - size
public Attribute(java.lang.String name,
java.lang.String type,
int size,
short javaSqlType)
name - nametype - typesize - sizejavaSqlType - javaSqlTypepublic Attribute()
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - the name to setpublic java.lang.String getType()
public void setType(java.lang.String type)
type - the type to setpublic int getSize()
public void setSize(int size)
size - the size to setpublic void setJavaSqlType(short javaSqlType)
javaSqlType - the javaSqlType to setpublic short getJavaSqlType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||