1 2 package org.apache.chemistry.opencmis.commons.impl.jaxb; 3 4 import java.math.BigInteger; 5 import java.util.ArrayList; 6 import java.util.List; 7 import javax.xml.bind.annotation.XmlAccessType; 8 import javax.xml.bind.annotation.XmlAccessorType; 9 import javax.xml.bind.annotation.XmlType; 10 11 12 /** 13 * <p>Java class for cmisPropertyIntegerDefinitionType complex type. 14 * 15 * <p>The following schema fragment specifies the expected content contained within this class. 16 * 17 * <pre> 18 * <complexType name="cmisPropertyIntegerDefinitionType"> 19 * <complexContent> 20 * <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDefinitionType"> 21 * <sequence> 22 * <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyInteger" minOccurs="0"/> 23 * <element name="maxValue" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> 24 * <element name="minValue" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> 25 * <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceInteger" maxOccurs="unbounded" minOccurs="0"/> 26 * </sequence> 27 * <anyAttribute processContents='lax' namespace='##other'/> 28 * </extension> 29 * </complexContent> 30 * </complexType> 31 * </pre> 32 * 33 * 34 */ 35 @XmlAccessorType(XmlAccessType.FIELD) 36 @XmlType(name = "cmisPropertyIntegerDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { 37 "defaultValue", 38 "maxValue", 39 "minValue", 40 "choice" 41 }) 42 public class CmisPropertyIntegerDefinitionType 43 extends CmisPropertyDefinitionType 44 { 45 46 protected CmisPropertyInteger defaultValue; 47 protected BigInteger maxValue; 48 protected BigInteger minValue; 49 protected List<CmisChoiceInteger> choice; 50 51 /** 52 * Gets the value of the defaultValue property. 53 * 54 * @return 55 * possible object is 56 * {@link CmisPropertyInteger } 57 * 58 */ 59 public CmisPropertyInteger getDefaultValue() { 60 return defaultValue; 61 } 62 63 /** 64 * Sets the value of the defaultValue property. 65 * 66 * @param value 67 * allowed object is 68 * {@link CmisPropertyInteger } 69 * 70 */ 71 public void setDefaultValue(CmisPropertyInteger value) { 72 this.defaultValue = value; 73 } 74 75 /** 76 * Gets the value of the maxValue property. 77 * 78 * @return 79 * possible object is 80 * {@link BigInteger } 81 * 82 */ 83 public BigInteger getMaxValue() { 84 return maxValue; 85 } 86 87 /** 88 * Sets the value of the maxValue property. 89 * 90 * @param value 91 * allowed object is 92 * {@link BigInteger } 93 * 94 */ 95 public void setMaxValue(BigInteger value) { 96 this.maxValue = value; 97 } 98 99 /** 100 * Gets the value of the minValue property. 101 * 102 * @return 103 * possible object is 104 * {@link BigInteger } 105 * 106 */ 107 public BigInteger getMinValue() { 108 return minValue; 109 } 110 111 /** 112 * Sets the value of the minValue property. 113 * 114 * @param value 115 * allowed object is 116 * {@link BigInteger } 117 * 118 */ 119 public void setMinValue(BigInteger value) { 120 this.minValue = value; 121 } 122 123 /** 124 * Gets the value of the choice property. 125 * 126 * <p> 127 * This accessor method returns a reference to the live list, 128 * not a snapshot. Therefore any modification you make to the 129 * returned list will be present inside the JAXB object. 130 * This is why there is not a <CODE>set</CODE> method for the choice property. 131 * 132 * <p> 133 * For example, to add a new item, do as follows: 134 * <pre> 135 * getChoice().add(newItem); 136 * </pre> 137 * 138 * 139 * <p> 140 * Objects of the following type(s) are allowed in the list 141 * {@link CmisChoiceInteger } 142 * 143 * 144 */ 145 public List<CmisChoiceInteger> getChoice() { 146 if (choice == null) { 147 choice = new ArrayList<CmisChoiceInteger>(); 148 } 149 return this.choice; 150 } 151 152 }