Package 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
* 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, objectTypeFields inherited from class org.dlese.dpc.ndr.request.SimpleNdrRequest
handle, requestAgent, verb, verbose -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetIdentifier(String id) Sets the identifier attribute of the AddResourceRequest objectvoidsetIdentifier(String id, String type) Sets the identifier attribute of the AddResourceRequest objectvoidsetMemberOf(String aggregatorHandle) Creates "memberOf" relationship to provided aggregatorHandle.Methods inherited from class org.dlese.dpc.ndr.request.SignedNdrRequest
authorizeToChange, authorizeToChange, getNDRConnection, reportMethods 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, submitMethods 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
-
Constructor Details
-
AddResourceRequest
public AddResourceRequest()Constructor for the AddResourceRequest object
-
-
Method Details
-
setIdentifier
Sets the identifier attribute of the AddResourceRequest object- Parameters:
id- The new identifier value
-
setIdentifier
Sets the identifier attribute of the AddResourceRequest object- Parameters:
id- The new identifier valuetype- The new identifier value
-
setMemberOf
Creates "memberOf" relationship to provided aggregatorHandle.- Parameters:
aggregatorHandle- The new memberOf value
-