au.gov.nehta.vendorlibrary.clinicalpackage.core
Class SubmissionSet

java.lang.Object
  extended by au.gov.nehta.vendorlibrary.clinicalpackage.core.SubmissionSet

public final class SubmissionSet
extends java.lang.Object

Encapsulates members that comprise a package's submission set.


Nested Class Summary
static class SubmissionSet.Builder
          Builder class used to construct a valid SubmissionSet object.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Indicates whether a supplied object is equal to the current object.
 java.util.List<Member> getAttachments()
          Returns the list of attachments associated with this SubmissionSet object.
 Member getRootDocument()
          Returns this SubmissionSet object's root document Member object.
 Member getSignature()
          Returns this SubmissionSet object's signature Member object.
 int hashCode()
          Returns a hash code value for this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRootDocument

public Member getRootDocument()
Returns this SubmissionSet object's root document Member object.

Returns:
the root document (type Member) object of this SubmissionSet object.

getAttachments

public java.util.List<Member> getAttachments()
Returns the list of attachments associated with this SubmissionSet object.

Returns:
the attachment list (type List) of this SubmissionSet.

getSignature

public Member getSignature()
Returns this SubmissionSet object's signature Member object.

Returns:
the signature (type Member) object of this SubmissionSet object.

equals

public boolean equals(java.lang.Object obj)
Indicates whether a supplied object is equal to the current object.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the reference object with which to compare this object.
Returns:
true if this object is the same as the supplied object argument; false otherwise.

hashCode

public int hashCode()
Returns a hash code value for this object.

Overrides:
hashCode in class java.lang.Object
Returns:
hash code for this object.