|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.objects.epath.EPathGroup
Combines EPath into a group so that operations can be applied to set of EPaths. Used by EORetriever to query EOs. An Epath belongs to a group if its has same object path, differed only in the fieldnames or filters. So, for example, Enterprise.SystemObject.* and Enterprise.SystemObject[LID=1].* EPaths belong to same group. But Enterprise.SystemObject.Person.* belong to different group
Constructor Summary | |
EPathGroup()
|
Method Summary | |
boolean |
addEPath(EPath epath)
add a Epath to this group |
java.util.List |
getFilterPaths()
return List of Filter[][] for each EPath in this group |
java.lang.String[] |
getSelectFields()
return all the fields that are to be retrieved for query for this epathgroup. |
boolean |
isSBR()
is this EPathGroup contains SBR epaths |
static boolean |
isSBR(EPath epath)
does input epath contains SBR epaths |
boolean |
isSO()
is this EPathGroup contains SO epaths |
static EPath[] |
splitIntoQueryCombinations(EPath epath)
splits an Epath into many Epaths that can be used to form QueryObjects The first EPath in the list of ePaths returned is always Enterprise.S0 or Enterprise.SBR. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EPathGroup()
Method Detail |
public boolean addEPath(EPath epath)
epath
-
public java.util.List getFilterPaths()
public java.lang.String[] getSelectFields()
public boolean isSBR()
public static boolean isSBR(EPath epath)
public boolean isSO()
public static EPath[] splitIntoQueryCombinations(EPath epath) throws EPathException
epath
- Epath that needs to be splitted
EPathException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.