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
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodSourceReturn
public MethodSourceReturn()
MethodSourceReturn
public MethodSourceReturn(String alreadySeenObject)
MethodSourceReturn
public MethodSourceReturn(MethodSource methodSource,
int id)
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)