|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.ndr.request.SimpleNdrRequest
org.dlese.dpc.ndr.request.NdrRequest
org.dlese.dpc.ndr.request.SignedNdrRequest
org.dlese.dpc.ndr.request.AddMetadataRequest
public class AddMetadataRequest
Convenience class for creating NdrRequests to add metadata
| 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 | |
|---|---|
AddMetadataRequest()
Constructor for the AddMetadataRequest object |
|
AddMetadataRequest(String resourceHandle)
Constructor that sets "metadataFor" relationship with provided resourceHandle; |
|
| Method Summary | |
|---|---|
void |
setDataStream(String format,
Element element)
Sets the dataStream attribute of the AddMetadataRequest object |
void |
setMetadataFor(String resourceHandle)
Sets the metadataFor attribute of the AddMetadataRequest object |
void |
setMetadataProvidedBy(String mdpHandle)
Sets the metadataProvidedBy attribute of the AddMetadataRequest object |
void |
setUniqueId(String id)
Sets the uniqueId attribute of the AddMetadataRequest object |
| Methods inherited from class org.dlese.dpc.ndr.request.SignedNdrRequest |
|---|
authorizeToChange, authorizeToChange, getNDRConnection, report |
| 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 |
|---|
public AddMetadataRequest()
public AddMetadataRequest(String resourceHandle)
resourceHandle - NOT YET DOCUMENTED| Method Detail |
|---|
public void setUniqueId(String id)
id - The new uniqueId valuepublic void setMetadataFor(String resourceHandle)
resourceHandle - The new metadataFor value
public void setDataStream(String format,
Element element)
throws Exception
format - The new dataStream valueelement - The new dataStream value
Exception - if inputXML is null, or if element is nullpublic void setMetadataProvidedBy(String mdpHandle)
mdpHandle - The new metadataProvidedBy value
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||