Class ClauseType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.ClauseType
-
public class ClauseType extends Object
Java class for ClauseType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ClauseType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Content" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ContentType>contentprotected IDTypeid
-
Constructor Summary
Constructors Constructor Description ClauseType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ContentType>getContent()Gets the value of the content property.IDTypegetID()Gets the value of the id property.voidsetID(IDType value)Sets the value of the id property.
-
-
-
Field Detail
-
id
protected IDType id
-
content
protected List<ContentType> content
-
-
Method Detail
-
setID
public void setID(IDType value)
Sets the value of the id property.- Parameters:
value- allowed object isIDType
-
getContent
public List<ContentType> getContent()
Gets the value of the content 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
setmethod 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
ContentType
-
-