First page Back Continue Last page Graphics

Transient Attributes


Notes:

Transient Attributes

In addition to having attributes that map to columns in an underlying table, your entity objects can include transient attributes that are value holders or that display values calculated in Java. A simple example is of adding a FullName transient attribute to the Users entity object that calculates its value by concatenating the values of the FirstName and LastName attributes.

<Attribute

Name="FullName"

IsUpdateable="false"

IsQueriable="false"

IsPersistent="false"

ColumnName="$none$"

Type="java.lang.String"

ColumnType="$none$" S

QLType="VARCHAR" >

</Attribute>