org.ujoframework.orm
Interface OrmUjo

All Superinterfaces:
Ujo
All Known Subinterfaces:
ExtendedOrmUjo<UJO_IMPL>
All Known Implementing Classes:
OrmTable

public interface OrmUjo
extends Ujo

The OrmUjo is a basic interface of the persistent object in the ORM support. 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, session is an transient property.
 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, session is an transient property.


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 © 2010. All Rights Reserved.