|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hydrateframework.MultiAssemblerLink
public class MultiAssemblerLink
An implementation of AssemblerLink
that handles the case where more
than one object is linking to another object. In the simple case where
one assembler links to just one other, both AssemblerLink
objects will
be Assembler
objects. However, if one or both links have several
alternative assemblers that they can link to in the same query, an instance
of this class is created to handle this additional complexity.
Constructor Summary | |
---|---|
MultiAssemblerLink(Assembler firstLink)
|
Method Summary | |
---|---|
void |
addLink(Assembler link)
Add a assembler to the list of links. |
java.lang.Object |
getBuiltObject()
Get the object that this assembler, or assemblers have just built or null if none has been built yet. |
java.lang.Object[] |
getBuiltObjects()
If mroe than one assembler is active in a particular query, more than one object may be returned. |
java.util.Collection |
getLinks()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiAssemblerLink(Assembler firstLink)
Method Detail |
---|
public java.lang.Object getBuiltObject()
AssemblerLink
getBuiltObject
in interface AssemblerLink
public java.lang.Object[] getBuiltObjects()
AssemblerLink
getBuiltObjects
in interface AssemblerLink
public java.util.Collection getLinks()
public void addLink(Assembler link)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |