public class Subscription extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Subscription complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Subscription">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="criteria" type="{http://hl7.org/fhir}string"/>
<element name="contact" type="{http://hl7.org/fhir}ContactPoint" maxOccurs="unbounded" minOccurs="0"/>
<element name="reason" type="{http://hl7.org/fhir}string"/>
<element name="status" type="{http://hl7.org/fhir}SubscriptionStatus"/>
<element name="error" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="channel" type="{http://hl7.org/fhir}Subscription.Channel"/>
<element name="end" type="{http://hl7.org/fhir}instant" minOccurs="0"/>
<element name="tag" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected SubscriptionChannel |
channel |
protected java.util.List<ContactPoint> |
contact |
protected String |
criteria |
protected Instant |
end |
protected String |
error |
protected String |
reason |
protected SubscriptionStatus |
status |
protected java.util.List<Coding> |
tag |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Subscription() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
SubscriptionChannel |
getChannel()
Gets the value of the channel property.
|
java.util.List<ContactPoint> |
getContact()
Gets the value of the contact property.
|
String |
getCriteria()
Gets the value of the criteria property.
|
Instant |
getEnd()
Gets the value of the end property.
|
String |
getError()
Gets the value of the error property.
|
String |
getReason()
Gets the value of the reason property.
|
SubscriptionStatus |
getStatus()
Gets the value of the status property.
|
java.util.List<Coding> |
getTag()
Gets the value of the tag property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setChannel(SubscriptionChannel value)
Sets the value of the channel property.
|
void |
setCriteria(String value)
Sets the value of the criteria property.
|
void |
setEnd(Instant value)
Sets the value of the end property.
|
void |
setError(String value)
Sets the value of the error property.
|
void |
setReason(String value)
Sets the value of the reason property.
|
void |
setStatus(SubscriptionStatus value)
Sets the value of the status property.
|
java.lang.String |
toString() |
Subscription |
withChannel(SubscriptionChannel value) |
Subscription |
withContact(java.util.Collection<ContactPoint> values) |
Subscription |
withContact(ContactPoint... values) |
Subscription |
withContained(java.util.Collection<ResourceContainer> values) |
Subscription |
withContained(ResourceContainer... values) |
Subscription |
withCriteria(String value) |
Subscription |
withEnd(Instant value) |
Subscription |
withError(String value) |
Subscription |
withExtension(java.util.Collection<Extension> values) |
Subscription |
withExtension(Extension... values) |
Subscription |
withId(Id value) |
Subscription |
withImplicitRules(Uri value) |
Subscription |
withLanguage(Code value) |
Subscription |
withMeta(Meta value) |
Subscription |
withModifierExtension(java.util.Collection<Extension> values) |
Subscription |
withModifierExtension(Extension... values) |
Subscription |
withReason(String value) |
Subscription |
withStatus(SubscriptionStatus value) |
Subscription |
withTag(Coding... values) |
Subscription |
withTag(java.util.Collection<Coding> values) |
Subscription |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected String criteria
protected java.util.List<ContactPoint> contact
protected String reason
protected SubscriptionStatus status
protected String error
protected SubscriptionChannel channel
protected Instant end
protected java.util.List<Coding> tag
public String getCriteria()
Stringpublic void setCriteria(String value)
value - allowed object is
Stringpublic java.util.List<ContactPoint> getContact()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the contact property.
For example, to add a new item, do as follows:
getContact().add(newItem);
Objects of the following type(s) are allowed in the list
ContactPoint
public String getReason()
Stringpublic void setReason(String value)
value - allowed object is
Stringpublic SubscriptionStatus getStatus()
SubscriptionStatuspublic void setStatus(SubscriptionStatus value)
value - allowed object is
SubscriptionStatuspublic String getError()
Stringpublic void setError(String value)
value - allowed object is
Stringpublic SubscriptionChannel getChannel()
SubscriptionChannelpublic void setChannel(SubscriptionChannel value)
value - allowed object is
SubscriptionChannelpublic Instant getEnd()
Instantpublic void setEnd(Instant value)
value - allowed object is
Instantpublic java.util.List<Coding> getTag()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the tag property.
For example, to add a new item, do as follows:
getTag().add(newItem);
Objects of the following type(s) are allowed in the list
Coding
public Subscription withCriteria(String value)
public Subscription withContact(ContactPoint... values)
public Subscription withContact(java.util.Collection<ContactPoint> values)
public Subscription withReason(String value)
public Subscription withStatus(SubscriptionStatus value)
public Subscription withError(String value)
public Subscription withChannel(SubscriptionChannel value)
public Subscription withEnd(Instant value)
public Subscription withTag(Coding... values)
public Subscription withTag(java.util.Collection<Coding> values)
public Subscription withText(Narrative value)
withText in class DomainResourcepublic Subscription withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Subscription withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Subscription withExtension(Extension... values)
withExtension in class DomainResourcepublic Subscription withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Subscription withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Subscription withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Subscription withId(Id value)
withId in class DomainResourcepublic Subscription withMeta(Meta value)
withMeta in class DomainResourcepublic Subscription withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Subscription withLanguage(Code value)
withLanguage in class DomainResourcepublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class DomainResource