com.sun.xml.messaging.jaxm.ebxml
Class Manifest

java.lang.Object
  |
  +--com.sun.xml.messaging.jaxm.ebxml.Manifest

public class Manifest
extends java.lang.Object

This class represents the manifest part of the ebxml header. This is added to the SOAPBody of the message.


Constructor Summary
Manifest(java.lang.String id, java.lang.String version)
          Creates a manifest with the id and version.
 
Method Summary
 void addReference(Reference ref)
          Add a reference to the manifest.
 java.lang.String getId()
          Returns the id for the manifest.
 Reference[] getReferences()
          Returns an array of references.
 java.lang.String getVersion()
          Returns the version of the manifest.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Manifest

public Manifest(java.lang.String id,
                java.lang.String version)
Creates a manifest with the id and version.
Parameters:
String - the id for the manifest.
String - version of the manifest.
Method Detail

getVersion

public java.lang.String getVersion()
Returns the version of the manifest.
Returns:
String the version.

getId

public java.lang.String getId()
Returns the id for the manifest.
Returns:
String the id for the manifest.

addReference

public void addReference(Reference ref)
Add a reference to the manifest.
Parameters:
Reference - - the reference to be added.
See Also:
Reference

getReferences

public Reference[] getReferences()
Returns an array of references.
Returns:
Reference[] - an array of references in the Manifest.
See Also:
Reference