|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.SourceLinkMapResultProcessor
The ResultProcessor creates a mapping of source QueryKeys and associated
Link ObjectIdentifiers stored in a WTArrayList value. The first element
of each row is assumed to be a full Persistable BinaryLink object.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private Map |
referenceMap
|
private static String |
RESOURCE
|
private WTCollection |
source
|
private boolean |
sourceRoleA
|
private Map |
targetMap
|
Constructor Summary | |
SourceLinkMapResultProcessor()
Default constructor. |
|
SourceLinkMapResultProcessor(WTCollection a_source,
String a_role,
Class linkClass)
This constructor initialized the instance. |
Method Summary | |
void |
addElement(Object anObj)
Add the specified object to the result processor, and increase the size by one Supported API: false |
WTCollection |
getSource()
Gets the value of the attribute: source; The source objects that will be used as the keys in the Map. |
Map |
getTargetMap()
Gets the value of the attribute: targetMap; The target results of the query. |
boolean |
isSourceRoleA()
Gets the value of the attribute: sourceRoleA; Indicates whether the source objects are role A (true) or role B (false). |
void |
setSource(WTCollection a_Source)
Sets the value of the attribute: source; The source objects that will be used as the keys in the Map. |
void |
setSourceRoleA(boolean a_SourceRoleA)
Sets the value of the attribute: sourceRoleA; Indicates whether the source objects are role A (true) or role B (false). |
void |
setTargetMap(Map a_TargetMap)
Sets the value of the attribute: targetMap; The target results of the query. |
int |
size()
Return the number of objects which have been added by the result processor Supported API: false |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private Map targetMap
private WTCollection source
private boolean sourceRoleA
private transient Map referenceMap
Constructor Detail |
public SourceLinkMapResultProcessor()
public SourceLinkMapResultProcessor(WTCollection a_source, String a_role, Class linkClass) throws WTException
a_source
- The source of the navigate operation.a_role
- The role to navigate to.linkClass
- The association link class to navigate.
WTException
Method Detail |
public Map getTargetMap()
public void setTargetMap(Map a_TargetMap) throws WTPropertyVetoException
a_TargetMap
-
WTPropertyVetoException
public WTCollection getSource()
public void setSource(WTCollection a_Source) throws WTPropertyVetoException
a_Source
-
WTPropertyVetoException
public boolean isSourceRoleA()
public void setSourceRoleA(boolean a_SourceRoleA) throws WTPropertyVetoException
a_SourceRoleA
-
WTPropertyVetoException
public void addElement(Object anObj)
addElement
in interface ResultProcessor
anObj
- public int size()
size
in interface ResultProcessor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |