org.ujoframework.orm.sample
Class Database

java.lang.Object
  extended by org.ujoframework.extensions.AbstractUjo
      extended by org.ujoframework.implementation.quick.QuickUjo
          extended by org.ujoframework.implementation.orm.OrmTable<Database>
              extended by org.ujoframework.orm.sample.Database
All Implemented Interfaces:
UjoCloneable, UjoTextable, OrmUjo, Ujo

public class Database
extends OrmTable<Database>

An table mapping to a database (a sample of usage).


Field Summary
static RelationToMany<Database,Item> ORDER_ITEMS
          Items of the Customer order
static RelationToMany<Database,Order> ORDERS
          Customer order.
static RelationToMany<Database,ViewOrder> VIEW_ORDERS
          View to aggregate data.
 
Fields inherited from class org.ujoframework.implementation.quick.QuickUjo
data
 
Constructor Summary
Database()
           
 
Method Summary
 
Methods inherited from class org.ujoframework.implementation.orm.OrmTable
get, newRelation, readAuthorization, readChangedProperties, readSession, readValue, set, writeSession, writeValue
 
Methods inherited from class org.ujoframework.implementation.quick.QuickUjo
newListProperty, newProperty, newProperty, newProperty, newProperty, newProperty, newProperty
 
Methods inherited from class org.ujoframework.extensions.AbstractUjo
clone, equals, init, init, readProperties, readUjoManager, readValueString, toString, writeValueString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ujoframework.Ujo
readProperties
 

Field Detail

ORDERS

public static final RelationToMany<Database,Order> ORDERS
Customer order. The used annotation overwrites a database schema from the property schema.


ORDER_ITEMS

public static final RelationToMany<Database,Item> ORDER_ITEMS
Items of the Customer order


VIEW_ORDERS

public static final RelationToMany<Database,ViewOrder> VIEW_ORDERS
View to aggregate data.

Constructor Detail

Database

public Database()


Copyright © 2009. All Rights Reserved.