|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sybase.reflection.AttributeMetaData
public class AttributeMetaData
Holds Attribute Meta Data information
Field Summary | |
---|---|
protected java.lang.String |
__column
|
protected DataType |
__dataType
|
protected int |
__id
|
protected boolean |
__isAssociation
|
protected boolean |
__isCascade
|
protected boolean |
__isKey
|
protected boolean |
__isLazyLoad
|
protected boolean |
__isReplay
|
protected boolean |
__isStatic
|
protected boolean |
__isSystem
|
protected int |
__maxLength
|
protected java.lang.String |
__name
|
protected int |
__precision
|
protected boolean |
__protected
|
protected int |
__scale
|
Constructor Summary | |
---|---|
AttributeMetaData()
Sybase internal use only. |
Method Summary | |
---|---|
AttributeMetaData |
finishInit()
Sybase internal use only. |
java.lang.String |
getColumn()
Gets the column name of the attribute. |
DataType |
getDataType()
Gets the DataType of the attribute. |
static AttributeMetaDataList |
getEMPTY_LIST()
Sybase internal use only. |
int |
getId()
Gets the attribute ID. |
boolean |
getIsAssociation()
Returns true if the attribute is an association. |
boolean |
getIsCascade()
Returns true if the attribute is an association and cascade to the children |
boolean |
getIsKey()
Returns true if the attribute is surrogate key |
boolean |
getIsLazyLoad()
Returns true if the attribute is lazy load. |
boolean |
getIsReplay()
Returns true if replay option of the attribute is true, otherwise return false. |
boolean |
getIsStatic()
Returns true if the attribute is static |
boolean |
getIsSystem()
Returns true if the attribute is system attribute. |
int |
getMaxLength()
Gets the max length of the attribute. |
java.lang.String |
getName()
Gets the attribute name |
int |
getPrecision()
Gets the precision of the attribute. |
int |
getScale()
Gets the scale of the attribute. |
AttributeMetaData |
initColumn(java.lang.String _column)
Sybase internal use only. |
AttributeMetaData |
initDataType(DataType _dataType)
Sybase internal use only. |
AttributeMetaData |
initId(int _id)
Sybase internal use only. |
AttributeMetaData |
initIsReplay(boolean _isReplay)
Sybase internal use only. |
AttributeMetaData |
initIsStatic(boolean _isStatic)
Sybase internal use only. |
AttributeMetaData |
initMaxLength(int _maxLength)
Sybase internal use only. |
AttributeMetaData |
initName(java.lang.String _name)
Sybase internal use only. |
AttributeMetaData |
initPrecision(int _precision)
Sybase internal use only. |
AttributeMetaData |
initScale(int _scale)
Sybase internal use only. |
boolean |
isPersistent()
Sybase internal use only. |
boolean |
isProtected()
Returns true if the attribute is protected. |
void |
setColumn(java.lang.String _column)
Sets the column name of the attribute. |
void |
setDataType(DataType _dataType)
Sets the DataType of the attribute. |
void |
setId(int _id)
Sets the attribute ID. |
void |
setIsAssociation(boolean isAssociation)
Sets the association option of the attribute. |
void |
setIsCascade(boolean isCascade)
Set cascade option of the attribute. |
void |
setIsKey(boolean isKey)
Set whether the attribute is surrogate key. |
void |
setIsLazyLoad(boolean isLazyLoad)
Sets the lazy load option of the attribute. |
void |
setIsReplay(boolean _isReplay)
Sets the replay option value of the attribute. |
void |
setIsStatic(boolean _isStatic)
Sets the static option of the attribute. |
void |
setIsSystem(boolean isSystem)
Sets the system option of the attribute. |
void |
setMaxLength(int _maxLength)
Sets the max length of the attribute. |
void |
setName(java.lang.String _name)
set the attribute name |
void |
setPrecision(int _precision)
Sets the precision of the attribute. |
void |
setProtected(boolean __protected)
Set protected option of the attribute. |
void |
setScale(int _scale)
Sets the scale of the attribute. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int __id
protected java.lang.String __name
protected DataType __dataType
protected int __maxLength
protected int __precision
protected int __scale
protected java.lang.String __column
protected boolean __isReplay
protected boolean __isStatic
protected boolean __protected
protected boolean __isKey
protected boolean __isCascade
protected boolean __isSystem
protected boolean __isAssociation
protected boolean __isLazyLoad
Constructor Detail |
---|
public AttributeMetaData()
Method Detail |
---|
public static AttributeMetaDataList getEMPTY_LIST()
public AttributeMetaData initId(int _id)
public int getId()
public void setId(int _id)
public AttributeMetaData initName(java.lang.String _name)
public java.lang.String getName()
public void setName(java.lang.String _name)
public AttributeMetaData initDataType(DataType _dataType)
public DataType getDataType()
public void setDataType(DataType _dataType)
public AttributeMetaData initMaxLength(int _maxLength)
public int getMaxLength()
public void setMaxLength(int _maxLength)
public AttributeMetaData initPrecision(int _precision)
public int getPrecision()
public void setPrecision(int _precision)
public AttributeMetaData initScale(int _scale)
public int getScale()
public void setScale(int _scale)
public AttributeMetaData initColumn(java.lang.String _column)
public java.lang.String getColumn()
public void setColumn(java.lang.String _column)
public AttributeMetaData initIsReplay(boolean _isReplay)
public boolean getIsReplay()
public void setIsReplay(boolean _isReplay)
public AttributeMetaData initIsStatic(boolean _isStatic)
public boolean getIsStatic()
public void setIsStatic(boolean _isStatic)
public boolean isPersistent()
public AttributeMetaData finishInit()
public boolean getIsKey()
public void setIsKey(boolean isKey)
public boolean getIsCascade()
public void setIsCascade(boolean isCascade)
public boolean getIsSystem()
public void setIsSystem(boolean isSystem)
public boolean getIsAssociation()
public void setIsAssociation(boolean isAssociation)
public boolean getIsLazyLoad()
public void setIsLazyLoad(boolean isLazyLoad)
public boolean isProtected()
public void setProtected(boolean __protected)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |