Package | Description |
---|---|
com.viaoa.ds.jdbc |
The OADataSourceJDBC package is used to access persistent data using JDBC.
|
com.viaoa.ds.jdbc.delegate |
OADataSourceJDBC delegate classes for implementing access to SQL Relational databases.
|
com.viaoa.hub |
Contains the observable OA collection class, and support classes.
|
com.viaoa.object |
Observable data model Object, that is the superclass for all OAModel classes.
|
com.viaoa.util |
Utility Classes used for object graphs and applications.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<ManyToMany> |
OADataSourceJDBC.getManyToMany(OALinkInfo linkInfo)
Select the objectKeys from a link table.
|
Modifier and Type | Method and Description |
---|---|
static ArrayList<ManyToMany> |
SelectDelegate.getManyToMany(OADataSourceJDBC ds,
OALinkInfo linkInfo)
20180602 select Link table.
|
Modifier and Type | Method and Description |
---|---|
static OALinkInfo |
HubDetailDelegate.getLinkInfoFromDetailToMaster(Hub hub)
Returns the OALinkInfo from detail (MANY) to master (ONE).
|
static OALinkInfo |
HubDetailDelegate.getLinkInfoFromMasterHubToDetail(Hub thisDetailHub) |
static OALinkInfo |
HubDetailDelegate.getLinkInfoFromMasterObjectToDetail(Hub thisDetailHub) |
static OALinkInfo |
HubDetailDelegate.getLinkInfoFromMasterToDetail(Hub thisDetailHub) |
Modifier and Type | Method and Description |
---|---|
static void |
HubEventDelegate.fireAfterPropertyChange(Hub thisHub,
OAObject oaObj,
String propertyName,
Object oldValue,
Object newValue,
OALinkInfo linkInfo)
Called by OAObject and Hub, used to notify all listeners of a property change.
|
static void |
HubDetailDelegate.setMasterObject(Hub thisHub,
OAObject masterObject,
OALinkInfo liDetailToMaster)
Set the object that "owns" this hub.
|
Constructor and Description |
---|
Hub(Class clazz,
OAObject masterObject,
OALinkInfo linkInfo,
boolean bCreateSelect)
Create a hub that will contain a Class of objects, and the Master object
for this hub is known.
|
Modifier and Type | Field and Description |
---|---|
protected OALinkInfo |
OAObjectInfo.liLinkToOwner |
protected OALinkInfo |
OAObjectInfo.liRecursiveMany |
protected OALinkInfo |
OAObjectInfo.liRecursiveOne |
Modifier and Type | Field and Description |
---|---|
protected List<OALinkInfo> |
OAObjectInfo.alLinkInfo |
protected static Hashtable<OALinkInfo,ArrayList> |
OAObjectHashDelegate.hashLinkInfoCacheArrayList |
protected static Hashtable<OALinkInfo,HashSet> |
OAObjectHashDelegate.hashLinkInfoCacheHashSet |
protected static Hashtable<OALinkInfo,ReentrantReadWriteLock> |
OAObjectHashDelegate.hashLinkInfoCacheLock
Used by OALinkInfo to cache Hubs so that they are not strong linked within object.
|
Modifier and Type | Method and Description |
---|---|
static OALinkInfo |
OAObjectInfoDelegate.getLinkInfo(Class fromClass,
Class toClass) |
static OALinkInfo |
OAObjectInfoDelegate.getLinkInfo(Class clazz,
String propertyName) |
static OALinkInfo |
OAObjectInfoDelegate.getLinkInfo(OAObjectInfo oi,
Class toClass) |
static OALinkInfo |
OAObjectInfoDelegate.getLinkInfo(OAObjectInfo oi,
OAObject fromObject,
Hub hub)
Find the linkInfo for a refererenc.
|
static OALinkInfo |
OAObjectInfoDelegate.getLinkInfo(OAObjectInfo oi,
String propertyName) |
OALinkInfo |
OAObjectInfo.getLinkInfo(String propertyName) |
static OALinkInfo |
OAObjectInfoDelegate.getLinkToOwner(OAObjectInfo thisOI) |
static OALinkInfo[] |
OAObjectDeleteDelegate.getMustBeEmptyBeforeDelete(OAObject oaObj) |
static OALinkInfo[] |
OAObjectInfoDelegate.getOwndedLinkInfos(OAObject obj) |
static OALinkInfo[] |
OAObjectInfoDelegate.getOwndedLinkInfos(OAObjectInfo oi) |
OALinkInfo |
OAObjectInfo.getOwnedByOne() |
OALinkInfo[] |
OAObjectInfo.getOwnedLinkInfos() |
OALinkInfo |
OAObjectInfo.getRecursiveLinkInfo(int type) |
static OALinkInfo |
OAObjectInfoDelegate.getRecursiveLinkInfo(OAObjectInfo thisOI,
int type) |
OALinkInfo |
OALinkInfo.getReverseLinkInfo() |
static OALinkInfo |
OAObjectInfoDelegate.getReverseLinkInfo(OALinkInfo thisLi) |
Modifier and Type | Method and Description |
---|---|
List<OALinkInfo> |
OAObjectInfo.getLinkInfos() |
Modifier and Type | Method and Description |
---|---|
protected ArrayList |
OAPreLoader._load(OALinkInfo[] linkInfos) |
protected static void |
OAObjectEditQueryDelegate._recursiveProcess(OAObjectEditQuery editQuery,
OAObject oaObj,
String propertyName,
OALinkInfo li) |
void |
OAObjectInfo.addLink(OALinkInfo li) |
void |
OAObjectInfo.addLinkInfo(OALinkInfo li) |
static void |
OAObjectInfoDelegate.addLinkInfo(OAObjectInfo thisOI,
OALinkInfo li) |
static boolean |
OAObjectInfoDelegate.cacheHub(OALinkInfo li,
Hub hub)
Used by OAObject.getHub() to cache hubs for links that have
a weakreference only.
|
static Hub |
OASiblingHelperDelegate.findBestSiblingHub(OAObject masterObject,
OALinkInfo liToMaster) |
protected static void |
OASiblingHelperDelegate.findSiblings(ArrayList<OAObjectKey> alFoundObjectKey,
Hub hubRoot,
int startPosHubRoot,
String finderPropertyPath,
String origProperty,
OALinkInfo linkInfo,
OAObject mainObject,
HashMap<OAObjectKey,OAObject> hmTypeOneObjKey,
ConcurrentHashMap<Integer,Boolean> hmIgnore,
int maxAmount,
long msStarted,
int runCount) |
static Hub |
OAObjectHubDelegate.getHub(OAObject oaObj,
OALinkInfo li) |
static Method |
OAObjectInfoDelegate.getMethod(OALinkInfo li) |
static OALinkInfo |
OAObjectInfoDelegate.getReverseLinkInfo(OALinkInfo thisLi) |
static boolean |
OAObjectHubDelegate.isAlreadyInHub(OAObject oaObj,
OALinkInfo li)
Used by Hub to read serialized objects.
|
static boolean |
OAObjectInfoDelegate.isCached(OALinkInfo li,
Hub hub) |
static boolean |
OAObjectInfoDelegate.isMany2Many(OALinkInfo thisLi) |
static boolean |
OAObjectInfoDelegate.isOne2One(OALinkInfo thisLi) |
protected ArrayList |
OAPreLoader.load(Class clazz,
OALinkInfo linkInfo) |
protected void |
OAPreLoader.loadMtoM(OALinkInfo linkInfo) |
protected void |
OAPreLoader.loadOtoM(OALinkInfo linkInfo,
ArrayList alMany) |
protected void |
OAPreLoader.loadRecursive(Class clazz,
ArrayList al,
OALinkInfo liMany) |
static void |
OAObjectDSDelegate.removeReference(OAObject oaObj,
OALinkInfo li) |
static void |
OAObjectEventDelegate.sendHubPropertyChange(OAObject oaObj,
String propertyName,
Object oldObj,
Object newObj,
OALinkInfo linkInfo) |
static void |
OAObjectHubDelegate.setMasterObject(Hub hub,
OAObject oaObj,
OALinkInfo liDetailToMaster) |
protected boolean |
OAObjectSerializer.shouldSerializeReference(OAObject oaObj,
String propertyName,
Object obj,
OALinkInfo linkInfo) |
Modifier and Type | Method and Description |
---|---|
OALinkInfo[] |
OAPropertyPath.getLinkInfos() |
OALinkInfo[] |
OAPropertyPath.getRecursiveLinkInfos() |
Modifier and Type | Method and Description |
---|---|
boolean |
OAJsonWriter.shouldIncludeProperty(Object obj,
String propertyName,
Object value,
OAPropertyInfo pi,
OALinkInfo li)
called by OAObject.write to know if object should
be written for a property that references another OAObject.
|
Copyright © 1999–2019 ViaOA. All rights reserved.