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

java.lang.Object
  extended by org.apache.chemistry.opencmis.commons.impl.jaxb.CmisPropertyDefinitionType
Direct Known Subclasses:
CmisPropertyBooleanDefinitionType, CmisPropertyDateTimeDefinitionType, CmisPropertyDecimalDefinitionType, CmisPropertyHtmlDefinitionType, CmisPropertyIdDefinitionType, CmisPropertyIntegerDefinitionType, CmisPropertyStringDefinitionType, CmisPropertyUriDefinitionType

public class CmisPropertyDefinitionType
extends java.lang.Object

Java class for cmisPropertyDefinitionType complex type.

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

 <complexType name="cmisPropertyDefinitionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="localName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="localNamespace" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="queryName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="propertyType" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumPropertyType"/>
         <element name="cardinality" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumCardinality"/>
         <element name="updatability" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumUpdatability"/>
         <element name="inherited" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="required" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="queryable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="orderable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="openChoice" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  EnumCardinality cardinality
           
protected  java.lang.String description
           
protected  java.lang.String displayName
           
protected  java.lang.String id
           
protected  java.lang.Boolean inherited
           
protected  java.lang.String localName
           
protected  java.lang.String localNamespace
           
protected  java.lang.Boolean openChoice
           
protected  boolean orderable
           
protected  EnumPropertyType propertyType
           
protected  boolean queryable
           
protected  java.lang.String queryName
           
protected  boolean required
           
protected  EnumUpdatability updatability
           
 
Constructor Summary
CmisPropertyDefinitionType()
           
 
Method Summary
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 EnumCardinality getCardinality()
          Gets the value of the cardinality property.
 java.lang.String getDescription()
          Gets the value of the description property.
 java.lang.String getDisplayName()
          Gets the value of the displayName property.
 java.lang.String getId()
          Gets the value of the id property.
 java.lang.String getLocalName()
          Gets the value of the localName property.
 java.lang.String getLocalNamespace()
          Gets the value of the localNamespace property.
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 EnumPropertyType getPropertyType()
          Gets the value of the propertyType property.
 java.lang.String getQueryName()
          Gets the value of the queryName property.
 EnumUpdatability getUpdatability()
          Gets the value of the updatability property.
 java.lang.Boolean isInherited()
          Gets the value of the inherited property.
 java.lang.Boolean isOpenChoice()
          Gets the value of the openChoice property.
 boolean isOrderable()
          Gets the value of the orderable property.
 boolean isQueryable()
          Gets the value of the queryable property.
 boolean isRequired()
          Gets the value of the required property.
 void setCardinality(EnumCardinality value)
          Sets the value of the cardinality property.
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setDisplayName(java.lang.String value)
          Sets the value of the displayName property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setInherited(java.lang.Boolean value)
          Sets the value of the inherited property.
 void setLocalName(java.lang.String value)
          Sets the value of the localName property.
 void setLocalNamespace(java.lang.String value)
          Sets the value of the localNamespace property.
 void setOpenChoice(java.lang.Boolean value)
          Sets the value of the openChoice property.
 void setOrderable(boolean value)
          Sets the value of the orderable property.
 void setPropertyType(EnumPropertyType value)
          Sets the value of the propertyType property.
 void setQueryable(boolean value)
          Sets the value of the queryable property.
 void setQueryName(java.lang.String value)
          Sets the value of the queryName property.
 void setRequired(boolean value)
          Sets the value of the required property.
 void setUpdatability(EnumUpdatability value)
          Sets the value of the updatability property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected java.lang.String id

localName

protected java.lang.String localName

localNamespace

protected java.lang.String localNamespace

displayName

protected java.lang.String displayName

queryName

protected java.lang.String queryName

description

protected java.lang.String description

propertyType

protected EnumPropertyType propertyType

cardinality

protected EnumCardinality cardinality

updatability

protected EnumUpdatability updatability

inherited

protected java.lang.Boolean inherited

required

protected boolean required

queryable

protected boolean queryable

orderable

protected boolean orderable

openChoice

protected java.lang.Boolean openChoice

any

protected java.util.List<java.lang.Object> any
Constructor Detail

CmisPropertyDefinitionType

public CmisPropertyDefinitionType()
Method Detail

getId

public java.lang.String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(java.lang.String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getLocalName

public java.lang.String getLocalName()
Gets the value of the localName property.

Returns:
possible object is String

setLocalName

public void setLocalName(java.lang.String value)
Sets the value of the localName property.

Parameters:
value - allowed object is String

getLocalNamespace

public java.lang.String getLocalNamespace()
Gets the value of the localNamespace property.

Returns:
possible object is String

setLocalNamespace

public void setLocalNamespace(java.lang.String value)
Sets the value of the localNamespace property.

Parameters:
value - allowed object is String

getDisplayName

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

Returns:
possible object is String

setDisplayName

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

Parameters:
value - allowed object is String

getQueryName

public java.lang.String getQueryName()
Gets the value of the queryName property.

Returns:
possible object is String

setQueryName

public void setQueryName(java.lang.String value)
Sets the value of the queryName property.

Parameters:
value - allowed object is String

getDescription

public java.lang.String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(java.lang.String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getPropertyType

public EnumPropertyType getPropertyType()
Gets the value of the propertyType property.

Returns:
possible object is EnumPropertyType

setPropertyType

public void setPropertyType(EnumPropertyType value)
Sets the value of the propertyType property.

Parameters:
value - allowed object is EnumPropertyType

getCardinality

public EnumCardinality getCardinality()
Gets the value of the cardinality property.

Returns:
possible object is EnumCardinality

setCardinality

public void setCardinality(EnumCardinality value)
Sets the value of the cardinality property.

Parameters:
value - allowed object is EnumCardinality

getUpdatability

public EnumUpdatability getUpdatability()
Gets the value of the updatability property.

Returns:
possible object is EnumUpdatability

setUpdatability

public void setUpdatability(EnumUpdatability value)
Sets the value of the updatability property.

Parameters:
value - allowed object is EnumUpdatability

isInherited

public java.lang.Boolean isInherited()
Gets the value of the inherited property.

Returns:
possible object is Boolean

setInherited

public void setInherited(java.lang.Boolean value)
Sets the value of the inherited property.

Parameters:
value - allowed object is Boolean

isRequired

public boolean isRequired()
Gets the value of the required property.


setRequired

public void setRequired(boolean value)
Sets the value of the required property.


isQueryable

public boolean isQueryable()
Gets the value of the queryable property.


setQueryable

public void setQueryable(boolean value)
Sets the value of the queryable property.


isOrderable

public boolean isOrderable()
Gets the value of the orderable property.


setOrderable

public void setOrderable(boolean value)
Sets the value of the orderable property.


isOpenChoice

public java.lang.Boolean isOpenChoice()
Gets the value of the openChoice property.

Returns:
possible object is Boolean

setOpenChoice

public void setOpenChoice(java.lang.Boolean value)
Sets the value of the openChoice property.

Parameters:
value - allowed object is Boolean

getAny

public java.util.List<java.lang.Object> getAny()
Gets the value of the any 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 any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Object Element


getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.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.