org.dlese.dpc.ndr.request
Class AddResourceRequest
java.lang.Object
org.dlese.dpc.ndr.request.SimpleNdrRequest
org.dlese.dpc.ndr.request.NdrRequest
org.dlese.dpc.ndr.request.SignedNdrRequest
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
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.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 |
AddResourceRequest
public AddResourceRequest()
- Constructor for the AddResourceRequest object
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 valuetype
- The new identifier value
setMemberOf
public void setMemberOf(String aggregatorHandle)
- Creates "memberOf" relationship to provided aggregatorHandle.
- Parameters:
aggregatorHandle
- The new memberOf value