Class AddMetadataRequest


public class AddMetadataRequest extends SignedNdrRequest
Convenience class for creating NdrRequests to add metadata
Version:
$Id: AddMetadataRequest.java,v 1.6 2009/03/20 23:33:53 jweather Exp $
Author:
Jonathan Ostwald
  • Constructor Details

    • AddMetadataRequest

      public AddMetadataRequest()
      Constructor for the AddMetadataRequest object
    • AddMetadataRequest

      public AddMetadataRequest(String resourceHandle)
      Constructor that sets "metadataFor" relationship with provided resourceHandle;
      Parameters:
      resourceHandle - NOT YET DOCUMENTED
  • Method Details

    • setUniqueId

      public void setUniqueId(String id)
      Sets the uniqueId attribute of the AddMetadataRequest object
      Parameters:
      id - The new uniqueId value
    • setMetadataFor

      public void setMetadataFor(String resourceHandle)
      Sets the metadataFor attribute of the AddMetadataRequest object
      Parameters:
      resourceHandle - The new metadataFor value
    • setDataStream

      public void setDataStream(String format, org.dom4j.Element element) throws Exception
      Sets the dataStream attribute of the AddMetadataRequest object
      Parameters:
      format - The new dataStream value
      element - The new dataStream value
      Throws:
      Exception - if inputXML is null, or if element is null
    • setMetadataProvidedBy

      public void setMetadataProvidedBy(String mdpHandle)
      Sets the metadataProvidedBy attribute of the AddMetadataRequest object
      Parameters:
      mdpHandle - The new metadataProvidedBy value