|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pajes.db.entity.Value
A representation of the value in a single column in a single entity (row) in a database entity.
| Method Summary | |
Attributes |
getAttributes()
Returns the entity attribute with which this value is associated. |
int |
getDataType()
Retrieves the SQL data type of this attribute. |
Entity |
getEntity()
Returns the Entity object to which this attribute belongs. |
java.lang.String |
getName()
Returns the database column name that this attribute represents. |
java.lang.Object |
getValue()
Retrieves the current value of this attribute. |
java.lang.Object |
getValue(boolean initial)
Retrieves the value of the attribute. |
boolean |
isAutoIncrement()
Determines whether this attribute is automatically incremented by the database server. |
boolean |
isChanged()
Returns the status of the attribute value. |
boolean |
isDate()
Determines if this attribute represents a date/time value or not. |
boolean |
isNumeric()
Determines if this attribute represents a numeric value or not. |
boolean |
setValue(java.lang.Object value)
Alters the existing value of this object. |
boolean |
setValue(java.lang.Object value,
boolean initial)
Alters the existing value of this object. |
boolean |
setValue(java.lang.String text,
boolean initial)
Alters the existing value of this object. |
java.lang.String |
toString()
Returns the current value as a String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public Attributes getAttributes()
public boolean isAutoIncrement()
public boolean isChanged()
public int getDataType()
public boolean isDate()
public Entity getEntity()
public java.lang.String getName()
public boolean isNumeric()
public boolean setValue(java.lang.Object value)
value - the new value.
public boolean setValue(java.lang.Object value,
boolean initial)
value - the new value.initial - true if the value provided is the initial value of this
attribute.
public boolean setValue(java.lang.String text,
boolean initial)
text - the new value as a String, which will be
converted to an appropriate Object based on the
data type of this object.initial - true if the value provided is the initial value of this
attribute.
public java.lang.Object getValue()
public java.lang.Object getValue(boolean initial)
initial - true if the value returned is to be the initial value of
this attribute, or false if the current value is to be returned.
public java.lang.String toString()
|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||