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

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

public final class Member
extends java.lang.Object

Encapsulates data pertaining to a clinical package member.


Nested Class Summary
static class Member.Builder
          Builder class used to construct a valid Member object.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Indicates whether a supplied object is equal to the current object.
 byte[] getFileContent()
          Returns the file content of this Member object.
 java.lang.String getUri()
          Returns the URI of this 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

getFileContent

public byte[] getFileContent()
Returns the file content of this Member object.

Returns:
the file content (type byte array) of this Member object.

getUri

public java.lang.String getUri()
Returns the URI of this Member object.

Returns:
the URI (type String) of this Member 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 value (type int) for this object.