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