@CodingStyleguideUnaware public class NoteType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
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="Subject" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}TextType" minOccurs="0"/>
<element name="ContentCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}CodeType" minOccurs="0"/>
<element name="Content" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}TextType" maxOccurs="unbounded" minOccurs="0"/>
<element name="SubjectCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}CodeType" minOccurs="0"/>
<element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}IDType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-list-extension
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
NoteType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addContent(TextType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
NoteType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(NoteType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<TextType> |
getContent()
Gets the value of the content property.
|
TextType |
getContentAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
CodeType |
getContentCode()
Gets the value of the contentCode property.
|
String |
getContentCodeValue()
Get the value of the contained CodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
int |
getContentCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
IDType |
getID()
Gets the value of the id property.
|
String |
getIDValue()
Get the value of the contained IDType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
TextType |
getSubject()
Gets the value of the subject property.
|
CodeType |
getSubjectCode()
Gets the value of the subjectCode property.
|
String |
getSubjectCodeValue()
Get the value of the contained CodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
String |
getSubjectValue()
Get the value of the contained TextType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
boolean |
hasContentEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoContentEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setContent(List<TextType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setContentCode(CodeType value)
Sets the value of the contentCode property.
|
CodeType |
setContentCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setID(IDType value)
Sets the value of the id property.
|
IDType |
setID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
TextType |
setSubject(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setSubject(TextType value)
Sets the value of the subject property.
|
void |
setSubjectCode(CodeType value)
Sets the value of the subjectCode property.
|
CodeType |
setSubjectCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public NoteType()
@Nullable public TextType getSubject()
TextTypepublic void setSubject(@Nullable TextType value)
value - allowed object is
TextType@Nullable public CodeType getContentCode()
CodeTypepublic void setContentCode(@Nullable CodeType value)
value - allowed object is
CodeType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") 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
@Nullable public CodeType getSubjectCode()
CodeTypepublic void setSubjectCode(@Nullable CodeType value)
value - allowed object is
CodeType@Nullable public IDType getID()
IDTypepublic void setID(@Nullable IDType value)
value - allowed object is
IDTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void setContent(@Nullable List<TextType> aList)
aList - The new list member to set. May be null.public boolean hasContentEntries()
true if at least one item is contained, false otherwise.public boolean hasNoContentEntries()
true if no item is contained, false otherwise.@Nonnegative public int getContentCount()
@Nullable public TextType getContentAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addContent(@Nonnull TextType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull NoteType ret)
this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public NoteType clone()
@Nonnull public CodeType setContentCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public CodeType setSubjectCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public IDType setID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public TextType setSubject(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getSubjectValue()
null@Nullable public String getContentCodeValue()
null@Nullable public String getSubjectCodeValue()
nullCopyright © 2016–2021 Philip Helger. All rights reserved.