|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tolven.app.entity.PlaceholderID
public class PlaceholderID
This entity provides a cross reference between a placeholder in a sending account and a placeholder in a receiving account. For example, if a patient records their weight in their ePHR, it might have a placeholder id of ephr:patient-123:observation-456. If that observation is sent to the patient's provider, then in the provider's account, the patient will have a different ID at the provider and the observation will also have a different id. In other words, there is no direct correlation between MenuData in two different accounts. This entity provides the next best thing which is to consider the source account's ID to be useful for knowing when the sender is referring to the same patient (or other placeholder) without having any particular meaning to the receiving account.
The same ID can then be used when communicating back to the sender.
PlaceholderID's are not unique although an application can treat a placeholderID if it desired.
| Constructor Summary | |
|---|---|
PlaceholderID()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Compare two PlaceholderId objects for equality. |
Account |
getAccount()
|
java.lang.String |
getAssigningAuthority()
|
java.lang.String |
getExtension()
|
long |
getId()
|
AccountMenuStructure |
getMenuStrucuture()
|
MenuData |
getPlaceholder()
|
java.lang.String |
getRoot()
|
Account |
getSourceAccount()
|
int |
hashCode()
Return a hash code for this object. |
void |
setAccount(Account account)
|
void |
setAssigningAuthority(java.lang.String assigningAuthority)
|
void |
setExtension(java.lang.String extension)
|
void |
setId(long id)
|
void |
setMenuStrucuture(AccountMenuStructure menuStrucuture)
|
void |
setPlaceholder(MenuData placeholder)
|
void |
setRoot(java.lang.String root)
|
void |
setSourceAccount(Account sourceAccount)
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlaceholderID()
| Method Detail |
|---|
public Account getAccount()
public void setAccount(Account account)
public java.lang.String getExtension()
public void setExtension(java.lang.String extension)
public long getId()
public void setId(long id)
public MenuData getPlaceholder()
public void setPlaceholder(MenuData placeholder)
public java.lang.String getRoot()
public void setRoot(java.lang.String root)
public Account getSourceAccount()
public void setSourceAccount(Account sourceAccount)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic AccountMenuStructure getMenuStrucuture()
public void setMenuStrucuture(AccountMenuStructure menuStrucuture)
public java.lang.String getAssigningAuthority()
public void setAssigningAuthority(java.lang.String assigningAuthority)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||