DLESE Tools
v1.6.0

org.dlese.dpc.ndr.request
Class AddResourceRequest

java.lang.Object
  extended by org.dlese.dpc.ndr.request.SimpleNdrRequest
      extended by org.dlese.dpc.ndr.request.NdrRequest
          extended by org.dlese.dpc.ndr.request.SignedNdrRequest
              extended by org.dlese.dpc.ndr.request.AddResourceRequest

public class AddResourceRequest
extends SignedNdrRequest

* Convenience class for creating NdrRequest to add a Resource

Version:
$Id: AddResourceRequest.java,v 1.6 2009/03/20 23:33:53 jweather Exp $
Author:
Jonathan Ostwald

Field Summary
 
Fields inherited from class org.dlese.dpc.ndr.request.SignedNdrRequest
inputXML, objectType
 
Fields inherited from class org.dlese.dpc.ndr.request.SimpleNdrRequest
handle, requestAgent, verb, verbose
 
Constructor Summary
AddResourceRequest()
          Constructor for the AddResourceRequest object
 
Method Summary
 void setIdentifier(String id)
          Sets the identifier attribute of the AddResourceRequest object
 void setIdentifier(String id, String type)
          Sets the identifier attribute of the AddResourceRequest object
 void setMemberOf(String aggregatorHandle)
          Creates "memberOf" relationship to provided aggregatorHandle.
 
Methods inherited from class org.dlese.dpc.ndr.request.SignedNdrRequest
authorizeToChange, authorizeToChange, getNDRConnection, report
 
Methods inherited from class org.dlese.dpc.ndr.request.NdrRequest
addCommand, addCommand, addCommand, addCommand, addDataStreamCmd, addDataStreamCmd, addDCStreamCmd, addDleseCommand, addDleseCommand, addNativeDataStreamCmd, addNativeDataStreamCmd, addNcsPropertyCmd, addNcsPropertyCmd, addNcsRelationshipCmd, addNcsRelationshipCmd, addOaiVisibilityCmd, addOaiVisibilityCmd, addQualifiedCommand, addQualifiedCommand, addServiceDescriptionCmd, addServiceDescriptionCmd, addStateCmd, addStateCmd, getComponent, getInputXML, getObjectType, getPayload, setDataInfoStream, setObjectType, submit, submit
 
Methods inherited from class org.dlese.dpc.ndr.request.SimpleNdrRequest
getDebug, getHandle, getNDRConnection, getRequestAgent, getVerb, getVerbose, makePath, pp, prtln, prtlnErr, report, setDebug, setHandle, setRequestAgent, setVerb, setVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddResourceRequest

public AddResourceRequest()
Constructor for the AddResourceRequest object

Method Detail

setIdentifier

public void setIdentifier(String id)
Sets the identifier attribute of the AddResourceRequest object

Parameters:
id - The new identifier value

setIdentifier

public void setIdentifier(String id,
                          String type)
Sets the identifier attribute of the AddResourceRequest object

Parameters:
id - The new identifier value
type - The new identifier value

setMemberOf

public void setMemberOf(String aggregatorHandle)
Creates "memberOf" relationship to provided aggregatorHandle.

Parameters:
aggregatorHandle - The new memberOf value

DLESE Tools
v1.6.0