|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NameReferenceFinder
NameReferenceFinder : this class is used to find property collections by name. The class has a list of all the root collections. It also has a map of all the associations between the parents and the children that define which property holds the name of the child. Note that name reference finders do not monitor changes in the name of the root collections. Therefore, if a root collection name changes, the name reference finder becomes invalid.
Method Summary | |
---|---|
PropertyCollection<?,?> |
getNamedChild(PropertyCollection<?,?> parent,
java.lang.String name)
Find a named child from a parent collection. |
java.util.List<PropertyCollection<?,?>> |
getNamedChildList(PropertyCollection<?,?> parent,
java.lang.String name)
Find all the named child from a parent collection. |
java.lang.String |
getReferenceName(PropertyCollection<?,?> child)
fetch the name of the child depending on the parent. |
PropertyCollection<?,?> |
getRootCollectionFromName(java.lang.String name)
fetch a root collection by specifying its name |
java.util.Set<java.lang.String> |
getRootNameSet()
get the set of all the Root Names |
java.lang.String |
getRootReferenceName(PropertyCollection<?,?> rootCollection)
fetch a root collection name |
Method Detail |
---|
java.lang.String getRootReferenceName(PropertyCollection<?,?> rootCollection)
rootCollection
- the root collection
PropertyCollection<?,?> getRootCollectionFromName(java.lang.String name)
name
- the name of the root collection
java.lang.String getReferenceName(PropertyCollection<?,?> child)
child
- the child property collection which requires a name
PropertyCollection<?,?> getNamedChild(PropertyCollection<?,?> parent, java.lang.String name)
parent
- the parent collectionname
- the name of the child
java.util.List<PropertyCollection<?,?>> getNamedChildList(PropertyCollection<?,?> parent, java.lang.String name)
parent
- the parent collectionname
- the name of the child
java.util.Set<java.lang.String> getRootNameSet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |