| java.lang.Object com.bm.introspectors.relations.GlobalRelationStore
GlobalRelationStore | final public class GlobalRelationStore (Code) | | The problems in finding releations using introspectors is to avaid cyclic
dependencies. This singelton is used as such a store of properties
(OneToMany, OneToOne,...) to avoid such dependencies
author: Daniel Wiese |
getProperty | public Property getProperty(Class forClass, String propertyName)(Code) | | Returns the property based on the class and the name.
Parameters: forClass - -the class where the property is in Parameters: propertyName - -the name of the property - the property or null (if not found) |
getProperty | public Property getProperty(Class forClass, Class forType)(Code) | | Returns the releation properties for special class (entity bean).
Parameters: forClass - -the class where the property is in Parameters: forType - -the type of the property - the property or null (if not found) |
put | public void put(Class forClass, Property toSave)(Code) | | Save a property wich represents a relation in a class (bean).
Parameters: forClass - -the entity bean class Parameters: toSave - -the property to save |
|
|