org.apache.oodt.cas.resource.structs
Class NameValueJobInput

java.lang.Object
  extended by org.apache.oodt.cas.resource.structs.NameValueJobInput
All Implemented Interfaces:
JobInput, Configurable, XmlRpcWriteable

public class NameValueJobInput
extends Object
implements JobInput

Version:
$Revision$

A JobInput backed by a Properties object of NameValue pairs.

.
Author:
mattmann

Constructor Summary
NameValueJobInput()
          Default Constructor.
 
Method Summary
 void configure(Properties props)
          Configure the object with the given Properties.
 String getId()
          Gets the ID of this JobInput
 String getValue(String name)
           
 void read(Object in)
          This method should define how to take an XML-RPC serializable Object and load the internal data members of the implementing class from the given input Object.
 void setNameValuePair(String name, String value)
           
 Object write()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameValueJobInput

public NameValueJobInput()
Default Constructor.

Method Detail

setNameValuePair

public void setNameValuePair(String name,
                             String value)

getValue

public String getValue(String name)

getId

public String getId()
Description copied from interface: JobInput
Gets the ID of this JobInput

Specified by:
getId in interface JobInput
Returns:
The string identifier of this JobInput object.

read

public void read(Object in)
Description copied from interface: XmlRpcWriteable
This method should define how to take an XML-RPC serializable Object and load the internal data members of the implementing class from the given input Object.

Specified by:
read in interface XmlRpcWriteable
Parameters:
in - The Object to read in and instantiate the implementation of this class with.

write

public Object write()
Specified by:
write in interface XmlRpcWriteable
Returns:
An XML-RPC safe serialization Object of the implementing class for this interface.

configure

public void configure(Properties props)
Description copied from interface: Configurable
Configure the object with the given Properties.

Specified by:
configure in interface Configurable
Parameters:
props - Properties to use to configure the Object.


Copyright © 1999-2013
Apache OODT. All Rights Reserved.