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

java.lang.Object
  extended by org.apache.chemistry.opencmis.commons.impl.jaxb.CmisChoice
Direct Known Subclasses:
CmisChoiceBoolean, CmisChoiceDateTime, CmisChoiceDecimal, CmisChoiceHtml, CmisChoiceId, CmisChoiceInteger, CmisChoiceString, CmisChoiceUri

public class CmisChoice
extends Object

Java class for cmisChoice complex type.

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

 <complexType name="cmisChoice">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
       <attribute name="displayName" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String displayName
           
 
Constructor Summary
CmisChoice()
           
 
Method Summary
 String getDisplayName()
          Gets the value of the displayName property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 void setDisplayName(String value)
          Sets the value of the displayName property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

displayName

protected String displayName
Constructor Detail

CmisChoice

public CmisChoice()
Method Detail

getDisplayName

public String getDisplayName()
Gets the value of the displayName property.

Returns:
possible object is String

setDisplayName

public void setDisplayName(String value)
Sets the value of the displayName property.

Parameters:
value - allowed object is String

getOtherAttributes

public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null


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