public class AddMetadataRequest extends SignedNdrRequest
inputXML, objectType
handle, requestAgent, verb, verbose
Constructor and Description |
---|
AddMetadataRequest()
Constructor for the AddMetadataRequest object
|
AddMetadataRequest(java.lang.String resourceHandle)
Constructor that sets "metadataFor" relationship with provided resourceHandle;
|
Modifier and Type | Method and Description |
---|---|
void |
setDataStream(java.lang.String format,
org.dom4j.Element element)
Sets the dataStream attribute of the AddMetadataRequest object
|
void |
setMetadataFor(java.lang.String resourceHandle)
Sets the metadataFor attribute of the AddMetadataRequest object
|
void |
setMetadataProvidedBy(java.lang.String mdpHandle)
Sets the metadataProvidedBy attribute of the AddMetadataRequest object
|
void |
setUniqueId(java.lang.String id)
Sets the uniqueId attribute of the AddMetadataRequest object
|
authorizeToChange, authorizeToChange, getNDRConnection, report
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
getDebug, getHandle, getNDRConnection, getRequestAgent, getVerb, getVerbose, makePath, pp, prtln, prtlnErr, report, setDebug, setHandle, setRequestAgent, setVerb, setVerbose
public AddMetadataRequest()
public AddMetadataRequest(java.lang.String resourceHandle)
resourceHandle
- NOT YET DOCUMENTEDpublic void setUniqueId(java.lang.String id)
id
- The new uniqueId valuepublic void setMetadataFor(java.lang.String resourceHandle)
resourceHandle
- The new metadataFor valuepublic void setDataStream(java.lang.String format, org.dom4j.Element element) throws java.lang.Exception
format
- The new dataStream valueelement
- The new dataStream valuejava.lang.Exception
- if inputXML is null, or if element is nullpublic void setMetadataProvidedBy(java.lang.String mdpHandle)
mdpHandle
- The new metadataProvidedBy value