org.apache.chemistry.opencmis.commons.impl.jaxb.CmisChoiceDecimal Maven / Gradle / Ivy
package org.apache.chemistry.opencmis.commons.impl.jaxb;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for cmisChoiceDecimal complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="cmisChoiceDecimal">
* <complexContent>
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoice">
* <sequence>
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}decimal" maxOccurs="unbounded" minOccurs="0"/>
* <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceDecimal" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <anyAttribute processContents='lax' namespace='##other'/>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "cmisChoiceDecimal", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
"value",
"choice"
})
public class CmisChoiceDecimal
extends CmisChoice
{
protected List value;
protected List choice;
/**
* Gets the value of the value 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 Jakarta XML Binding object.
* This is why there is not a set
method for the value property.
*
*
* For example, to add a new item, do as follows:
*
* getValue().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BigDecimal }
*
*
*/
public List getValue() {
if (value == null) {
value = new ArrayList();
}
return this.value;
}
/**
* Gets the value of the choice 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 Jakarta XML Binding object.
* This is why there is not a set
method for the choice property.
*
*
* For example, to add a new item, do as follows:
*
* getChoice().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CmisChoiceDecimal }
*
*
*/
public List getChoice() {
if (choice == null) {
choice = new ArrayList();
}
return this.choice;
}
}