public class NamingSystemUniqueId extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for NamingSystem.UniqueId complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NamingSystem.UniqueId">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="type" type="{http://hl7.org/fhir}NamingSystemIdentifierType"/>
<element name="value" type="{http://hl7.org/fhir}string"/>
<element name="preferred" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="period" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Period |
period |
protected Boolean |
preferred |
protected NamingSystemIdentifierType |
type |
protected String |
value |
modifierExtension| Constructor and Description |
|---|
NamingSystemUniqueId() |
| 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 |
getPeriod()
Gets the value of the period property.
|
Boolean |
getPreferred()
Gets the value of the preferred property.
|
NamingSystemIdentifierType |
getType()
Gets the value of the type property.
|
String |
getValue()
Gets the value of the value property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setPeriod(Period value)
Sets the value of the period property.
|
void |
setPreferred(Boolean value)
Sets the value of the preferred property.
|
void |
setType(NamingSystemIdentifierType value)
Sets the value of the type property.
|
void |
setValue(String value)
Sets the value of the value property.
|
java.lang.String |
toString() |
NamingSystemUniqueId |
withExtension(java.util.Collection<Extension> values) |
NamingSystemUniqueId |
withExtension(Extension... values) |
NamingSystemUniqueId |
withId(java.lang.String value) |
NamingSystemUniqueId |
withModifierExtension(java.util.Collection<Extension> values) |
NamingSystemUniqueId |
withModifierExtension(Extension... values) |
NamingSystemUniqueId |
withPeriod(Period value) |
NamingSystemUniqueId |
withPreferred(Boolean value) |
NamingSystemUniqueId |
withType(NamingSystemIdentifierType value) |
NamingSystemUniqueId |
withValue(String value) |
getModifierExtensiongetExtension, getId, setIdprotected NamingSystemIdentifierType type
protected String value
protected Boolean preferred
protected Period period
public NamingSystemIdentifierType getType()
NamingSystemIdentifierTypepublic void setType(NamingSystemIdentifierType value)
value - allowed object is
NamingSystemIdentifierTypepublic String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic Boolean getPreferred()
Booleanpublic void setPreferred(Boolean value)
value - allowed object is
Booleanpublic Period getPeriod()
Periodpublic void setPeriod(Period value)
value - allowed object is
Periodpublic NamingSystemUniqueId withType(NamingSystemIdentifierType value)
public NamingSystemUniqueId withValue(String value)
public NamingSystemUniqueId withPreferred(Boolean value)
public NamingSystemUniqueId withPeriod(Period value)
public NamingSystemUniqueId withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic NamingSystemUniqueId withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic NamingSystemUniqueId withExtension(Extension... values)
withExtension in class BackboneElementpublic NamingSystemUniqueId withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic NamingSystemUniqueId withId(java.lang.String value)
withId in class BackboneElementpublic 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 BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic 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 BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic 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 BackboneElementpublic 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 BackboneElement