|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mguennewig.pobjects.metadata.Column
public abstract class Column
Defines a table attribute.
| Field Summary | |
|---|---|
static int |
GET_METHOD
Name of the Java method that returns the value of the indicated column. |
static int |
GET_METHOD_VISUAL
Name of the Java method that returns the preferred string representation of the value returned by method GET_METHOD. |
static int |
MEMBER_ATTR
Name of the public Java member that holds a reference to the
column descriptor. |
static int |
MEMBER_ATTR_TYPE
Name of the public Java member that holds a reference to the
descriptor's type. |
static int |
MEMBER_NAME
Name of the private Java member that stores this column. |
static int |
SET_METHOD
Name of the Java method that assigns a new value to the indicated column. |
| Method Summary | |
|---|---|
Description |
getDescription()
|
int |
getIndex()
Returns the index position in the surrounding table expression. |
java.lang.String |
getName()
Returns the column name as seen by the application. |
java.lang.String |
getSchemaName()
Returns the column name in the database schema. |
Type |
getType()
Returns the type definition for this column |
java.lang.String |
name(int variant)
Returns different names depending on variant for the code
generator. |
void |
setDescription(Description descr)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int GET_METHOD
public static final int SET_METHOD
public static final int GET_METHOD_VISUAL
GET_METHOD.
public static final int MEMBER_NAME
private Java member that stores this column.
public static final int MEMBER_ATTR
public Java member that holds a reference to the
column descriptor.
public static final int MEMBER_ATTR_TYPE
public Java member that holds a reference to the
descriptor's type. The member's type is the most specific extension of the
base type Type that applies.
| Method Detail |
|---|
public final java.lang.String getName()
public final java.lang.String getSchemaName()
public final Description getDescription()
public final void setDescription(Description descr)
public final Type getType()
public final int getIndex()
public java.lang.String name(int variant)
variant for the code
generator.
variant | return value |
|---|---|
GET_METHOD |
get< |
GET_METHOD_VISUAL |
get< |
SET_METHOD |
set< |
MEMBER_NAME |
< |
MEMBER_ATTR |
attr< |
MEMBER_ATTR_TYPE |
atype< |
java.lang.IllegalArgumentException - if variant is unknown.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||