public class CmisPropertyStringDefinitionType extends CmisPropertyDefinitionType
Java class for cmisPropertyStringDefinitionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="cmisPropertyStringDefinitionType">
<complexContent>
<extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDefinitionType">
<sequence>
<element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyString" minOccurs="0"/>
<element name="maxLength" type="{http://www.w3.org/2001/XMLSchema}integer" 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>
| Modifier and Type | Field and Description |
|---|---|
protected List<CmisChoiceString> |
choice |
protected CmisPropertyString |
defaultValue |
protected BigInteger |
maxLength |
any, cardinality, description, displayName, id, inherited, localName, localNamespace, openChoice, orderable, propertyType, queryable, queryName, required, updatability| Constructor and Description |
|---|
CmisPropertyStringDefinitionType() |
| Modifier and Type | Method and Description |
|---|---|
List<CmisChoiceString> |
getChoice()
Gets the value of the choice property.
|
CmisPropertyString |
getDefaultValue()
Gets the value of the defaultValue property.
|
BigInteger |
getMaxLength()
Gets the value of the maxLength property.
|
void |
setDefaultValue(CmisPropertyString value)
Sets the value of the defaultValue property.
|
void |
setMaxLength(BigInteger value)
Sets the value of the maxLength property.
|
getAny, getCardinality, getDescription, getDisplayName, getId, getLocalName, getLocalNamespace, getOtherAttributes, getPropertyType, getQueryName, getUpdatability, isInherited, isOpenChoice, isOrderable, isQueryable, isRequired, setCardinality, setDescription, setDisplayName, setId, setInherited, setLocalName, setLocalNamespace, setOpenChoice, setOrderable, setPropertyType, setQueryable, setQueryName, setRequired, setUpdatabilityprotected CmisPropertyString defaultValue
protected BigInteger maxLength
protected List<CmisChoiceString> choice
public CmisPropertyString getDefaultValue()
CmisPropertyStringpublic void setDefaultValue(CmisPropertyString value)
value - allowed object is
CmisPropertyStringpublic BigInteger getMaxLength()
BigIntegerpublic void setMaxLength(BigInteger value)
value - allowed object is
BigIntegerpublic List<CmisChoiceString> getChoice()
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-2012 The Apache Software Foundation. All Rights Reserved.