org.apache.chemistry.opencmis.commons.impl.jaxb
Class CmisChoiceString

java.lang.Object
  extended by org.apache.chemistry.opencmis.commons.impl.jaxb.CmisChoice
      extended by org.apache.chemistry.opencmis.commons.impl.jaxb.CmisChoiceString

public class CmisChoiceString
extends CmisChoice

Java class for cmisChoiceString complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="cmisChoiceString">
   <complexContent>
     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoice">
       <sequence>
         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceString" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<CmisChoiceString> choice
           
protected  java.util.List<java.lang.String> value
           
 
Fields inherited from class org.apache.chemistry.opencmis.commons.impl.jaxb.CmisChoice
displayName
 
Constructor Summary
CmisChoiceString()
           
 
Method Summary
 java.util.List<CmisChoiceString> getChoice()
          Gets the value of the choice property.
 java.util.List<java.lang.String> getValue()
          Gets the value of the value property.
 
Methods inherited from class org.apache.chemistry.opencmis.commons.impl.jaxb.CmisChoice
getDisplayName, getOtherAttributes, setDisplayName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected java.util.List<java.lang.String> value

choice

protected java.util.List<CmisChoiceString> choice
Constructor Detail

CmisChoiceString

public CmisChoiceString()
Method Detail

getValue

public java.util.List<java.lang.String> getValue()
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 JAXB 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 String


getChoice

public java.util.List<CmisChoiceString> getChoice()
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 JAXB 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 CmisChoiceString



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.