org.oasis.ebxml.registry.bindings.rs
Class RootElement

java.lang.Object
  extended byorg.oasis.ebxml.registry.bindings.rs.RootElement
All Implemented Interfaces:
java.io.Serializable

public class RootElement
extends java.lang.Object
implements java.io.Serializable

The contrived root node

See Also:
Serialized Form

Constructor Summary
RootElement()
           
 
Method Summary
 AddSlotsRequest getAddSlotsRequest()
          Returns the value of field 'addSlotsRequest'.
 AdhocQueryRequest getAdhocQueryRequest()
          Returns the value of field 'adhocQueryRequest'.
 ApproveObjectsRequest getApproveObjectsRequest()
          Returns the value of field 'approveObjectsRequest'.
 DeprecateObjectsRequest getDeprecateObjectsRequest()
          Returns the value of field 'deprecateObjectsRequest'.
 GetContentRequest getGetContentRequest()
          Returns the value of field 'getContentRequest'.
 RegistryProfile getRegistryProfile()
          Returns the value of field 'registryProfile'.
 RegistryResponse getRegistryResponse()
          Returns the value of field 'registryResponse'.
 RemoveObjectsRequest getRemoveObjectsRequest()
          Returns the value of field 'removeObjectsRequest'.
 RemoveSlotsRequest getRemoveSlotsRequest()
          Returns the value of field 'removeSlotsRequest'.
 SubmitObjectsRequest getSubmitObjectsRequest()
          Returns the value of field 'submitObjectsRequest'.
 UpdateObjectsRequest getUpdateObjectsRequest()
          Returns the value of field 'updateObjectsRequest'.
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setAddSlotsRequest(AddSlotsRequest addSlotsRequest)
          Sets the value of field 'addSlotsRequest'.
 void setAdhocQueryRequest(AdhocQueryRequest adhocQueryRequest)
          Sets the value of field 'adhocQueryRequest'.
 void setApproveObjectsRequest(ApproveObjectsRequest approveObjectsRequest)
          Sets the value of field 'approveObjectsRequest'.
 void setDeprecateObjectsRequest(DeprecateObjectsRequest deprecateObjectsRequest)
          Sets the value of field 'deprecateObjectsRequest'.
 void setGetContentRequest(GetContentRequest getContentRequest)
          Sets the value of field 'getContentRequest'.
 void setRegistryProfile(RegistryProfile registryProfile)
          Sets the value of field 'registryProfile'.
 void setRegistryResponse(RegistryResponse registryResponse)
          Sets the value of field 'registryResponse'.
 void setRemoveObjectsRequest(RemoveObjectsRequest removeObjectsRequest)
          Sets the value of field 'removeObjectsRequest'.
 void setRemoveSlotsRequest(RemoveSlotsRequest removeSlotsRequest)
          Sets the value of field 'removeSlotsRequest'.
 void setSubmitObjectsRequest(SubmitObjectsRequest submitObjectsRequest)
          Sets the value of field 'submitObjectsRequest'.
 void setUpdateObjectsRequest(UpdateObjectsRequest updateObjectsRequest)
          Sets the value of field 'updateObjectsRequest'.
static RootElement unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RootElement

public RootElement()
Method Detail

getAddSlotsRequest

public AddSlotsRequest getAddSlotsRequest()
Returns the value of field 'addSlotsRequest'.

Returns:
the value of field 'addSlotsRequest'.

getAdhocQueryRequest

public AdhocQueryRequest getAdhocQueryRequest()
Returns the value of field 'adhocQueryRequest'. The field 'adhocQueryRequest' has the following description: An Ad hoc query request specifies a query string as defined by [RS] in the queryString attribute

Returns:
the value of field 'adhocQueryRequest'.

getApproveObjectsRequest

public ApproveObjectsRequest getApproveObjectsRequest()
Returns the value of field 'approveObjectsRequest'. The field 'approveObjectsRequest' has the following description: The ObjectRefList is the list of refs to the registry entrys being approved.

Returns:
the value of field 'approveObjectsRequest'.

getDeprecateObjectsRequest

public DeprecateObjectsRequest getDeprecateObjectsRequest()
Returns the value of field 'deprecateObjectsRequest'. The field 'deprecateObjectsRequest' has the following description: The ObjectRefList is the list of refs to the registry entrys being deprecated.

Returns:
the value of field 'deprecateObjectsRequest'.

getGetContentRequest

public GetContentRequest getGetContentRequest()
Returns the value of field 'getContentRequest'. The field 'getContentRequest' has the following description: Gets the actual content (not metadata) specified by the ObjectRefList

Returns:
the value of field 'getContentRequest'.

getRegistryProfile

public RegistryProfile getRegistryProfile()
Returns the value of field 'registryProfile'. The field 'registryProfile' has the following description: Describes the capability profile for the registry and what optional features are supported

Returns:
the value of field 'registryProfile'.

getRegistryResponse

public RegistryResponse getRegistryResponse()
Returns the value of field 'registryResponse'.

Returns:
the value of field 'registryResponse'.

getRemoveObjectsRequest

public RemoveObjectsRequest getRemoveObjectsRequest()
Returns the value of field 'removeObjectsRequest'. The field 'removeObjectsRequest' has the following description: The ObjectRefList is the list of refs to the registry entrys being removed

Returns:
the value of field 'removeObjectsRequest'.

getRemoveSlotsRequest

public RemoveSlotsRequest getRemoveSlotsRequest()
Returns the value of field 'removeSlotsRequest'. The field 'removeSlotsRequest' has the following description: Only need name in Slot within SlotList

Returns:
the value of field 'removeSlotsRequest'.

getSubmitObjectsRequest

public SubmitObjectsRequest getSubmitObjectsRequest()
Returns the value of field 'submitObjectsRequest'. The field 'submitObjectsRequest' has the following description: The SubmitObjectsRequest allows one to submit a list of RegistryObject elements. Each RegistryEntry element provides metadata for a single submitted object. Note that the repository item being submitted is in a separate document that is not in this DTD. The ebXML Messaging Services Specfication defines packaging, for submission, of the metadata of a repository item with the repository item itself. The value of the id attribute of the ExtrinsicObject element must be the same as the xlink:href attribute within the Reference element within the Manifest element of the MessageHeader.

Returns:
the value of field 'submitObjectsRequest'.

getUpdateObjectsRequest

public UpdateObjectsRequest getUpdateObjectsRequest()
Returns the value of field 'updateObjectsRequest'. The field 'updateObjectsRequest' has the following description: The UpdateObjectsRequest allows one to update a list of RegistryObject elements. Each RegistryEntry element provides metadata for a single submitted object. Note that the repository item being submitted is in a separate document that is not in this DTD. The ebXML Messaging Services Specfication defines packaging, for submission, of the metadata of a repository item with the repository item itself. The value of the id attribute of the ExtrinsicObject element must be the same as the xlink:href attribute within the Reference element within the Manifest element of the MessageHeader.

Returns:
the value of field 'updateObjectsRequest'.

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setAddSlotsRequest

public void setAddSlotsRequest(AddSlotsRequest addSlotsRequest)
Sets the value of field 'addSlotsRequest'.

Parameters:
addSlotsRequest - the value of field 'addSlotsRequest'.

setAdhocQueryRequest

public void setAdhocQueryRequest(AdhocQueryRequest adhocQueryRequest)
Sets the value of field 'adhocQueryRequest'. The field 'adhocQueryRequest' has the following description: An Ad hoc query request specifies a query string as defined by [RS] in the queryString attribute

Parameters:
adhocQueryRequest - the value of field 'adhocQueryRequest'.

setApproveObjectsRequest

public void setApproveObjectsRequest(ApproveObjectsRequest approveObjectsRequest)
Sets the value of field 'approveObjectsRequest'. The field 'approveObjectsRequest' has the following description: The ObjectRefList is the list of refs to the registry entrys being approved.

Parameters:
approveObjectsRequest - the value of field 'approveObjectsRequest'.

setDeprecateObjectsRequest

public void setDeprecateObjectsRequest(DeprecateObjectsRequest deprecateObjectsRequest)
Sets the value of field 'deprecateObjectsRequest'. The field 'deprecateObjectsRequest' has the following description: The ObjectRefList is the list of refs to the registry entrys being deprecated.

Parameters:
deprecateObjectsRequest - the value of field 'deprecateObjectsRequest'.

setGetContentRequest

public void setGetContentRequest(GetContentRequest getContentRequest)
Sets the value of field 'getContentRequest'. The field 'getContentRequest' has the following description: Gets the actual content (not metadata) specified by the ObjectRefList

Parameters:
getContentRequest - the value of field 'getContentRequest'.

setRegistryProfile

public void setRegistryProfile(RegistryProfile registryProfile)
Sets the value of field 'registryProfile'. The field 'registryProfile' has the following description: Describes the capability profile for the registry and what optional features are supported

Parameters:
registryProfile - the value of field 'registryProfile'.

setRegistryResponse

public void setRegistryResponse(RegistryResponse registryResponse)
Sets the value of field 'registryResponse'.

Parameters:
registryResponse - the value of field 'registryResponse'

setRemoveObjectsRequest

public void setRemoveObjectsRequest(RemoveObjectsRequest removeObjectsRequest)
Sets the value of field 'removeObjectsRequest'. The field 'removeObjectsRequest' has the following description: The ObjectRefList is the list of refs to the registry entrys being removed

Parameters:
removeObjectsRequest - the value of field 'removeObjectsRequest'.

setRemoveSlotsRequest

public void setRemoveSlotsRequest(RemoveSlotsRequest removeSlotsRequest)
Sets the value of field 'removeSlotsRequest'. The field 'removeSlotsRequest' has the following description: Only need name in Slot within SlotList

Parameters:
removeSlotsRequest - the value of field 'removeSlotsRequest'.

setSubmitObjectsRequest

public void setSubmitObjectsRequest(SubmitObjectsRequest submitObjectsRequest)
Sets the value of field 'submitObjectsRequest'. The field 'submitObjectsRequest' has the following description: The SubmitObjectsRequest allows one to submit a list of RegistryObject elements. Each RegistryEntry element provides metadata for a single submitted object. Note that the repository item being submitted is in a separate document that is not in this DTD. The ebXML Messaging Services Specfication defines packaging, for submission, of the metadata of a repository item with the repository item itself. The value of the id attribute of the ExtrinsicObject element must be the same as the xlink:href attribute within the Reference element within the Manifest element of the MessageHeader.

Parameters:
submitObjectsRequest - the value of field 'submitObjectsRequest'.

setUpdateObjectsRequest

public void setUpdateObjectsRequest(UpdateObjectsRequest updateObjectsRequest)
Sets the value of field 'updateObjectsRequest'. The field 'updateObjectsRequest' has the following description: The UpdateObjectsRequest allows one to update a list of RegistryObject elements. Each RegistryEntry element provides metadata for a single submitted object. Note that the repository item being submitted is in a separate document that is not in this DTD. The ebXML Messaging Services Specfication defines packaging, for submission, of the metadata of a repository item with the repository item itself. The value of the id attribute of the ExtrinsicObject element must be the same as the xlink:href attribute within the Reference element within the Manifest element of the MessageHeader.

Parameters:
updateObjectsRequest - the value of field 'updateObjectsRequest'.

unmarshal

public static RootElement unmarshal(java.io.Reader reader)
                             throws org.exolab.castor.xml.MarshalException,
                                    org.exolab.castor.xml.ValidationException
Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException