public class CmisPropertyDefinitionType extends 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>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
any |
protected EnumCardinality |
cardinality |
protected String |
description |
protected String |
displayName |
protected String |
id |
protected Boolean |
inherited |
protected String |
localName |
protected String |
localNamespace |
protected Boolean |
openChoice |
protected boolean |
orderable |
protected EnumPropertyType |
propertyType |
protected boolean |
queryable |
protected String |
queryName |
protected boolean |
required |
protected EnumUpdatability |
updatability |
| Constructor and Description |
|---|
CmisPropertyDefinitionType() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
EnumCardinality |
getCardinality()
Gets the value of the cardinality property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getDisplayName()
Gets the value of the displayName property.
|
String |
getId()
Gets the value of the id property.
|
String |
getLocalName()
Gets the value of the localName property.
|
String |
getLocalNamespace()
Gets the value of the localNamespace property.
|
Map<QName,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.
|
String |
getQueryName()
Gets the value of the queryName property.
|
EnumUpdatability |
getUpdatability()
Gets the value of the updatability property.
|
Boolean |
isInherited()
Gets the value of the inherited property.
|
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(String value)
Sets the value of the description property.
|
void |
setDisplayName(String value)
Sets the value of the displayName property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setInherited(Boolean value)
Sets the value of the inherited property.
|
void |
setLocalName(String value)
Sets the value of the localName property.
|
void |
setLocalNamespace(String value)
Sets the value of the localNamespace property.
|
void |
setOpenChoice(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(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.
|
protected String id
protected String localName
protected String localNamespace
protected String displayName
protected String queryName
protected String description
protected EnumPropertyType propertyType
protected EnumCardinality cardinality
protected EnumUpdatability updatability
protected Boolean inherited
protected boolean required
protected boolean queryable
protected boolean orderable
protected Boolean openChoice
public void setId(String value)
value - allowed object is
Stringpublic String getLocalName()
Stringpublic void setLocalName(String value)
value - allowed object is
Stringpublic String getLocalNamespace()
Stringpublic void setLocalNamespace(String value)
value - allowed object is
Stringpublic String getDisplayName()
Stringpublic void setDisplayName(String value)
value - allowed object is
Stringpublic String getQueryName()
Stringpublic void setQueryName(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic EnumPropertyType getPropertyType()
EnumPropertyTypepublic void setPropertyType(EnumPropertyType value)
value - allowed object is
EnumPropertyTypepublic EnumCardinality getCardinality()
EnumCardinalitypublic void setCardinality(EnumCardinality value)
value - allowed object is
EnumCardinalitypublic EnumUpdatability getUpdatability()
EnumUpdatabilitypublic void setUpdatability(EnumUpdatability value)
value - allowed object is
EnumUpdatabilitypublic Boolean isInherited()
Booleanpublic void setInherited(Boolean value)
value - allowed object is
Booleanpublic boolean isRequired()
public void setRequired(boolean value)
public boolean isQueryable()
public void setQueryable(boolean value)
public boolean isOrderable()
public void setOrderable(boolean value)
public Boolean isOpenChoice()
Booleanpublic void setOpenChoice(Boolean value)
value - allowed object is
Booleanpublic List<Object> getAny()
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
public Map<QName,String> getOtherAttributes()
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.
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.