org.ujoframework.orm
Interface OrmUjo

All Superinterfaces:
Ujo
All Known Implementing Classes:
Database, Item, Order, OrmTable, ViewOrder

public interface OrmUjo
extends Ujo

The OrmUjo is a basic interface of the persistent object in this ORM-UJO module. A class that implements the interface must have got a special features:

Author:
Ponec

Method Summary
 UjoProperty[] readChangedProperties(boolean clear)
          Returns changed properties.
 Session readSession()
          Read an ORM session
 java.lang.Object readValue(UjoProperty property)
          A special implementation, see a source code of the OrmTable class for more information.
 void writeSession(Session session)
          Write an ORM session
 
Methods inherited from interface org.ujoframework.Ujo
readAuthorization, readProperties, writeValue
 

Method Detail

readSession

Session readSession()
Read an ORM session


writeSession

void writeSession(Session session)
Write an ORM session


readChangedProperties

UjoProperty[] readChangedProperties(boolean clear)
Returns changed properties.

Parameters:
clear - True value clears all the property changes.

readValue

java.lang.Object readValue(UjoProperty property)
A special implementation, see a source code of the OrmTable class for more information.

Specified by:
readValue in interface Ujo
Parameters:
property - Property must be a direct type only!
Returns:
Property value
See Also:
OrmTable.readValue(org.ujoframework.UjoProperty)


Copyright © 2009. All Rights Reserved.