sk.uniba.euromath.gene
Class ObjectSource

java.lang.Object
  extended by sk.uniba.euromath.gene.ObjectSource
All Implemented Interfaces:
Source

public class ObjectSource
extends Object
implements Source

Represents source as an object. The processing of this object is Exporter - specific. This object is functionally equivalent to the ObjectRequestSource -

Author:
Martin Vysny

Field Summary
protected  Object object
          The source.
protected  String systemId
          A resource identifier.
 
Constructor Summary
ObjectSource(Object object)
          Initializes the result object with given object.
 
Method Summary
 Object getObject()
          Returns the source.
 String getSystemId()
           
 void setObject(Object object)
          Sets the source object.
 void setSystemId(String systemId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

systemId

protected String systemId
A resource identifier.


object

protected Object object
The source.

Constructor Detail

ObjectSource

public ObjectSource(Object object)
Initializes the result object with given object.

Parameters:
object - the object that is the result. Cannot be null.
Method Detail

getSystemId

public String getSystemId()
Specified by:
getSystemId in interface Source

setSystemId

public void setSystemId(String systemId)
Specified by:
setSystemId in interface Source

getObject

public Object getObject()
Returns the source.

Returns:
object that is a source to some operation.

setObject

public void setObject(Object object)
Sets the source object.

Parameters:
object - object that is source to some operation.


Copyright 2003-2003-2006 null. All Rights Reserved.