public class BundleEntry extends BaseBundle
| Constructor and Description |
|---|
BundleEntry() |
| Modifier and Type | Method and Description |
|---|---|
Tag |
addCategory()
Deprecated.
Tags wil become immutable in a future release of HAPI, so
addCategory(String, String, String) should be used instead |
void |
addCategory(String theScheme,
String theTerm,
String theLabel) |
void |
addCategory(Tag theTag) |
TagList |
getCategories() |
InstantDt |
getDeletedAt()
Gets the date/time that thius entry was deleted.
|
StringDt |
getDeletedByEmail() |
StringDt |
getDeletedByName() |
StringDt |
getDeletedComment() |
IdDt |
getDeletedResourceId() |
CodeDt |
getDeletedResourceType() |
StringDt |
getDeletedResourceVersion() |
IdDt |
getId()
Deprecated.
Setting IDs on bundle entries is redundant since resources already have an ID field. Instead of
providing an ID using this method, set the ID on the resource using
IResource.setId(IdDt) or
if this entry represents a deleted resource, use setDeletedResourceId(IdDt). |
StringDt |
getLinkAlternate() |
StringDt |
getLinkBase()
Deprecated.
Use resource ID to determine base URL
|
StringDt |
getLinkSearch() |
StringDt |
getLinkSelf() |
InstantDt |
getPublished() |
IResource |
getResource() |
DecimalDt |
getScore() |
BoundCodeDt<BundleEntrySearchModeEnum> |
getSearchMode() |
XhtmlDt |
getSummary() |
StringDt |
getTitle() |
BoundCodeDt<BundleEntryTransactionMethodEnum> |
getTransactionMethod() |
InstantDt |
getUpdated()
Deprecated.
DSTU2 Note: As of DSTU2, bundle entries no longer have an updated time (this bit of metadata
has been moved to the resource <meta/> element so it is redundant here). In preparation for
DSTU2, it is recommended that you migrate code away from using this method and over to using resource
metadata instead.
|
boolean |
isEmpty() |
void |
setDeleted(InstantDt theDeletedAt)
Sets the date/time that this entry was deleted.
|
void |
setDeletedByEmail(StringDt theDeletedByEmail) |
void |
setDeletedByName(StringDt theDeletedByName) |
void |
setDeletedComment(StringDt theDeletedComment) |
void |
setDeletedResourceId(IdDt theDeletedResourceId) |
void |
setDeletedResourceType(CodeDt theDeletedResourceType) |
void |
setDeletedResourceVersion(StringDt theDeletedResourceVersion) |
void |
setId(IdDt theId)
Deprecated.
Bundle entries no longer have an ID in DSTU2, as ID is explicitly stated in the resource itself.
|
void |
setLinkAlternate(StringDt theLinkAlternate) |
void |
setLinkBase(StringDt theLinkBase)
Deprecated.
Use resource ID to determine base URL
|
void |
setLinkSearch(StringDt theLinkSearch) |
void |
setLinkSelf(StringDt theLinkSelf) |
void |
setPublished(InstantDt thePublished) |
void |
setResource(IResource theResource) |
void |
setScore(DecimalDt theScore) |
void |
setSearchMode(BoundCodeDt<BundleEntrySearchModeEnum> theSearchMode) |
void |
setTransactionMethod(BoundCodeDt<BundleEntryTransactionMethodEnum> theTransactionOperation) |
void |
setUpdated(InstantDt theUpdated)
Deprecated.
DSTU2 Note: As of DSTU2, bundle entries no longer have an updated time (this bit of metadata
has been moved to the resource <meta/> element so it is redundant here). In preparation for
DSTU2, it is recommended that you migrate code away from using this method and over to using resource
metadata instead.
|
String |
toString() |
getAuthorName, getAuthorUriaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptypublic BundleEntry()
@Deprecated public Tag addCategory()
addCategory(String, String, String) should be used insteadpublic void addCategory(String theScheme, String theTerm, String theLabel)
public void addCategory(Tag theTag)
public TagList getCategories()
public InstantDt getDeletedAt()
public StringDt getDeletedByEmail()
public StringDt getDeletedByName()
public StringDt getDeletedComment()
public IdDt getDeletedResourceId()
public CodeDt getDeletedResourceType()
public StringDt getDeletedResourceVersion()
@Deprecated public IdDt getId()
IResource.setId(IdDt) or
if this entry represents a deleted resource, use setDeletedResourceId(IdDt).getId in class BaseBundlepublic StringDt getLinkAlternate()
@Deprecated public StringDt getLinkBase()
public StringDt getLinkSearch()
public StringDt getLinkSelf()
public InstantDt getPublished()
public IResource getResource()
public XhtmlDt getSummary()
@Deprecated public InstantDt getUpdated()
public boolean isEmpty()
isEmpty in interface IBaseisEmpty in class BaseBundlepublic void setDeleted(InstantDt theDeletedAt)
public void setDeletedByEmail(StringDt theDeletedByEmail)
public void setDeletedByName(StringDt theDeletedByName)
public void setDeletedComment(StringDt theDeletedComment)
public void setDeletedResourceId(IdDt theDeletedResourceId)
public void setDeletedResourceType(CodeDt theDeletedResourceType)
public void setDeletedResourceVersion(StringDt theDeletedResourceVersion)
@Deprecated public void setId(IdDt theId)
setId in class BaseBundlepublic void setLinkAlternate(StringDt theLinkAlternate)
@Deprecated public void setLinkBase(StringDt theLinkBase)
public void setLinkSearch(StringDt theLinkSearch)
public void setLinkSelf(StringDt theLinkSelf)
public void setPublished(InstantDt thePublished)
public void setResource(IResource theResource)
@Deprecated public void setUpdated(InstantDt theUpdated)
public BoundCodeDt<BundleEntrySearchModeEnum> getSearchMode()
public void setSearchMode(BoundCodeDt<BundleEntrySearchModeEnum> theSearchMode)
public BoundCodeDt<BundleEntryTransactionMethodEnum> getTransactionMethod()
public void setTransactionMethod(BoundCodeDt<BundleEntryTransactionMethodEnum> theTransactionOperation)
Copyright © 2014–2016 University Health Network. All rights reserved.