Class ANY
- Direct Known Subclasses:
AD
,ANYNonNull
,BIN
,BL
,CD
,CR
,EN
,GLISTPQ
,GLISTTS
,II
,QTY
,SLISTPQ
,SLISTTS
,StrucDocText
,URL
Java-Klasse für ANY complex type.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<complexType name="ANY"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="nullFlavor" type="{urn:hl7-org:v3}NullFlavor" /> </restriction> </complexContent> </complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull String
Method to get merged xmlMixed.Gets the value of the nullFlavor property.getNullFlavor
(boolean replaceNullByEmptyList) Gets the value of the nullFlavor property.Method to getvoid
setXmlMixed
(@Nullable String xmlMixed) Method to set xml mixed list from one xmlmixedvoid
setXmlMixed
(List<String> xmlMixed) Method to set
-
Field Details
-
nullFlavor
null flavor
-
-
Constructor Details
-
ANY
public ANY()
-
-
Method Details
-
getXmlMixed
Method to get- Returns:
- xmlMixed
-
setXmlMixed
Method to set- Parameters:
xmlMixed
- the xml mixed list
-
setXmlMixed
Method to set xml mixed list from one xmlmixed- Parameters:
xmlMixed
- the xmlMixed entry as string
-
getMergedXmlMixed
Method to get merged xmlMixed.- Returns:
- the xmlMixed content joint as string
-
getNullFlavor
Gets the value of the nullFlavor property.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 nullFlavor property.For example, to add a new item, do as follows:
getNullFlavor().add(newItem);
Objects of the following type(s) are allowed in the list
String
- Returns:
- returns a list of nullFlavor
-
getNullFlavor
Gets the value of the nullFlavor property. IfreplaceNullByEmptyList
is set totrue
, the property is set to a new list if it wasnull
.If
replaceNullByEmptyList
is set totrue
, 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 aset
method for the nullFlavor property.For example, to add a new item, do as follows:
getNullFlavor().add(newItem);
Objects of the following type(s) are allowed in the list
String
- Parameters:
replaceNullByEmptyList
- to return if nullFlavor is null an empty list- Returns:
- nullFlavor the nullFlavor list
-