ca.quine.jcommons.sourceexporter
Class MethodSourceReturn

java.lang.Object
  |
  +--ca.quine.jcommons.sourceexporter.MethodSourceReturn

public class MethodSourceReturn
extends Object

Used by SourceMarshaller.createMethodSource(MarshallingContext, Object, String, String) to return more than one thing. This class allows for some code reuse in CollectionMarshaller, DefaultMarshaller and ImmutableMarshaller.


Constructor Summary
MethodSourceReturn()
           
MethodSourceReturn(MethodSource methodSource, int id)
           
MethodSourceReturn(String alreadySeenObject)
           
 
Method Summary
 String getAlreadySeenObject()
           
 int getId()
           
 MethodSource getMethodSource()
           
 void setAlreadySeenObject(String alreadySeenObject)
           
 void setId(int id)
           
 void setMethodSource(MethodSource methodSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodSourceReturn

public MethodSourceReturn()

MethodSourceReturn

public MethodSourceReturn(String alreadySeenObject)

MethodSourceReturn

public MethodSourceReturn(MethodSource methodSource,
                          int id)
Method Detail

getAlreadySeenObject

public String getAlreadySeenObject()

setAlreadySeenObject

public void setAlreadySeenObject(String alreadySeenObject)

getMethodSource

public MethodSource getMethodSource()

setMethodSource

public void setMethodSource(MethodSource methodSource)

getId

public int getId()

setId

public void setId(int id)