public class NoteType extends Object
Java class for NoteType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NoteType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ContentCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}CodeType" maxOccurs="unbounded" minOccurs="0"/>
<element name="Content" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
<element name="SubjectCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}CodeType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<TextType> |
content |
protected List<CodeType> |
contentCode |
protected CodeType |
subjectCode |
| Constructor and Description |
|---|
NoteType() |
| Modifier and Type | Method and Description |
|---|---|
List<TextType> |
getContent()
Gets the value of the content property.
|
List<CodeType> |
getContentCode()
Gets the value of the contentCode property.
|
CodeType |
getSubjectCode()
Gets the value of the subjectCode property.
|
void |
setSubjectCode(CodeType value)
Sets the value of the subjectCode property.
|
NoteType |
withContent(Collection<TextType> values) |
NoteType |
withContent(TextType... values) |
NoteType |
withContentCode(CodeType... values) |
NoteType |
withContentCode(Collection<CodeType> values) |
NoteType |
withSubjectCode(CodeType value) |
protected CodeType subjectCode
public List<CodeType> getContentCode()
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 contentCode property.
For example, to add a new item, do as follows:
getContentCode().add(newItem);
Objects of the following type(s) are allowed in the list
CodeType
public List<TextType> getContent()
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 content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
TextType
public CodeType getSubjectCode()
CodeTypepublic void setSubjectCode(CodeType value)
value - allowed object is
CodeTypepublic NoteType withContentCode(Collection<CodeType> values)
public NoteType withContent(Collection<TextType> values)
Copyright © 2014–2019 Philip Helger. All rights reserved.