public class Account extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Account complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Account">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="name" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="type" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}AccountStatus" minOccurs="0"/>
<element name="activePeriod" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
<element name="currency" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
<element name="balance" type="{http://hl7.org/fhir}Money" minOccurs="0"/>
<element name="coveragePeriod" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
<element name="subject" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="owner" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Period |
activePeriod |
protected Money |
balance |
protected Period |
coveragePeriod |
protected Coding |
currency |
protected String |
description |
protected java.util.List<Identifier> |
identifier |
protected String |
name |
protected Reference |
owner |
protected AccountStatus |
status |
protected Reference |
subject |
protected CodeableConcept |
type |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Account() |
| 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) |
Period |
getActivePeriod()
Gets the value of the activePeriod property.
|
Money |
getBalance()
Gets the value of the balance property.
|
Period |
getCoveragePeriod()
Gets the value of the coveragePeriod property.
|
Coding |
getCurrency()
Gets the value of the currency property.
|
String |
getDescription()
Gets the value of the description property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
String |
getName()
Gets the value of the name property.
|
Reference |
getOwner()
Gets the value of the owner property.
|
AccountStatus |
getStatus()
Gets the value of the status property.
|
Reference |
getSubject()
Gets the value of the subject property.
|
CodeableConcept |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setActivePeriod(Period value)
Sets the value of the activePeriod property.
|
void |
setBalance(Money value)
Sets the value of the balance property.
|
void |
setCoveragePeriod(Period value)
Sets the value of the coveragePeriod property.
|
void |
setCurrency(Coding value)
Sets the value of the currency property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setOwner(Reference value)
Sets the value of the owner property.
|
void |
setStatus(AccountStatus value)
Sets the value of the status property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
void |
setType(CodeableConcept value)
Sets the value of the type property.
|
java.lang.String |
toString() |
Account |
withActivePeriod(Period value) |
Account |
withBalance(Money value) |
Account |
withContained(java.util.Collection<ResourceContainer> values) |
Account |
withContained(ResourceContainer... values) |
Account |
withCoveragePeriod(Period value) |
Account |
withCurrency(Coding value) |
Account |
withDescription(String value) |
Account |
withExtension(java.util.Collection<Extension> values) |
Account |
withExtension(Extension... values) |
Account |
withId(Id value) |
Account |
withIdentifier(java.util.Collection<Identifier> values) |
Account |
withIdentifier(Identifier... values) |
Account |
withImplicitRules(Uri value) |
Account |
withLanguage(Code value) |
Account |
withMeta(Meta value) |
Account |
withModifierExtension(java.util.Collection<Extension> values) |
Account |
withModifierExtension(Extension... values) |
Account |
withName(String value) |
Account |
withOwner(Reference value) |
Account |
withStatus(AccountStatus value) |
Account |
withSubject(Reference value) |
Account |
withText(Narrative value) |
Account |
withType(CodeableConcept value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected String name
protected CodeableConcept type
protected AccountStatus status
protected Period activePeriod
protected Coding currency
protected Money balance
protected Period coveragePeriod
protected Reference subject
protected Reference owner
protected String description
public java.util.List<Identifier> getIdentifier()
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 identifier property.
For example, to add a new item, do as follows:
getIdentifier().add(newItem);
Objects of the following type(s) are allowed in the list
Identifier
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic CodeableConcept getType()
CodeableConceptpublic void setType(CodeableConcept value)
value - allowed object is
CodeableConceptpublic AccountStatus getStatus()
AccountStatuspublic void setStatus(AccountStatus value)
value - allowed object is
AccountStatuspublic Period getActivePeriod()
Periodpublic void setActivePeriod(Period value)
value - allowed object is
Periodpublic Coding getCurrency()
Codingpublic void setCurrency(Coding value)
value - allowed object is
Codingpublic Money getBalance()
Moneypublic void setBalance(Money value)
value - allowed object is
Moneypublic Period getCoveragePeriod()
Periodpublic void setCoveragePeriod(Period value)
value - allowed object is
Periodpublic Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic Reference getOwner()
Referencepublic void setOwner(Reference value)
value - allowed object is
Referencepublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic Account withIdentifier(Identifier... values)
public Account withIdentifier(java.util.Collection<Identifier> values)
public Account withType(CodeableConcept value)
public Account withStatus(AccountStatus value)
public Account withText(Narrative value)
withText in class DomainResourcepublic Account withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Account withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Account withExtension(Extension... values)
withExtension in class DomainResourcepublic Account withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Account withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Account withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Account withId(Id value)
withId in class DomainResourcepublic Account withMeta(Meta value)
withMeta in class DomainResourcepublic Account withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Account 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