|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ojb.broker.metadata.AttributeDescriptorBase | +--ojb.broker.metadata.FieldDescriptor
A FieldDescriptor holds the mapping information for a specific member-variable
Constructor Summary | |
FieldDescriptor(int id)
Constructor declaration |
Method Summary | |
int |
getColNo()
Method declaration |
int |
getColumnJdbcType()
returns the JDBC type (represented as an int value as specified by java.sql.Types) of a FieldDescriptor. |
java.lang.String |
getColumnName()
Method declaration |
java.lang.String |
getColumnType()
Method declaration |
static java.util.Comparator |
getComparator()
returns a comparator that allows to sort a Vector of FieldMappingDecriptors according to their m_Order entries. |
java.lang.String |
getFullColumnName()
Answer the qualified ColumnName ie: myTab.name |
boolean |
isAutoIncrement()
|
boolean |
isLocking()
Gets the locking. |
boolean |
isPrimaryKey()
Method declaration |
void |
setAutoIncrement(boolean autoIncrement)
|
void |
setColumnName(java.lang.String str)
Method declaration |
void |
setColumnType(java.lang.String str)
Method declaration |
void |
setLocking(boolean locking)
Sets the locking. |
void |
setPrimaryKey(boolean b)
Method declaration |
java.lang.String |
toString()
Method declaration |
Methods inherited from class ojb.broker.metadata.AttributeDescriptorBase |
getClassDescriptor, getPersistentField, setClassDescriptor, setDebug, setPersistentField |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FieldDescriptor(int id)
id
- Method Detail |
public boolean isAutoIncrement()
public void setAutoIncrement(boolean autoIncrement)
public static java.util.Comparator getComparator()
public java.lang.String getColumnName()
public java.lang.String getFullColumnName()
public void setColumnName(java.lang.String str)
str
- public java.lang.String getColumnType()
public int getColumnJdbcType()
public void setColumnType(java.lang.String str)
str
- public boolean isPrimaryKey()
public void setPrimaryKey(boolean b)
b
- public int getColNo()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isLocking()
public void setLocking(boolean locking)
locking
- The locking to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |