org.xcmis.client.gwt.model.property
Class StringPropertyDefinition

java.lang.Object
  extended by org.xcmis.client.gwt.model.property.BasePropertyDefinition<String>
      extended by org.xcmis.client.gwt.model.property.StringPropertyDefinition
All Implemented Interfaces:
PropertyDefinition<String>

public class StringPropertyDefinition
extends BasePropertyDefinition<String>

Version:
$Id: $
Author:
Oksana Vereshchaka

Constructor Summary
StringPropertyDefinition()
          Default constructor.
StringPropertyDefinition(String id, String localName, String localNamespace, String queryName, String displayName, String description, EnumCardinality cardinality, EnumUpdatability updatability, Boolean inherited, Boolean required, Boolean queryable, Boolean orderable, Boolean openChoice, List<Choice<String>> choices, String[] defaultValue, Long maxLength)
           
 
Method Summary
 Long getMaxLength()
           
 EnumPropertyType getPropertyType()
          
 void setMaxLength(Long maxLength)
          Setter for maxLength
 
Methods inherited from class org.xcmis.client.gwt.model.property.BasePropertyDefinition
getCardinality, getChoices, getDefaultValue, getDescription, getDisplayName, getId, getLocalName, getLocalNamespace, getQueryName, getUpdatability, isInherited, isOpenChoice, isOrderable, isQueryable, isRequired, setCardinality, setChoices, setDefaultValue, setDescription, setDisplayName, setId, setInherited, setLocalName, setLocalNamespace, setOpenChoice, setOrderable, setQueryable, setQueryName, setRequired, setUpdatability
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringPropertyDefinition

public StringPropertyDefinition()
Default constructor.


StringPropertyDefinition

public StringPropertyDefinition(String id,
                                String localName,
                                String localNamespace,
                                String queryName,
                                String displayName,
                                String description,
                                EnumCardinality cardinality,
                                EnumUpdatability updatability,
                                Boolean inherited,
                                Boolean required,
                                Boolean queryable,
                                Boolean orderable,
                                Boolean openChoice,
                                List<Choice<String>> choices,
                                String[] defaultValue,
                                Long maxLength)
Parameters:
id - id
localName - local name
localNamespace - local name space
queryName - query name
displayName - display name
description - description
cardinality - cardinality
updatability - updatability
inherited - inherited
required - required
queryable - queryable
orderable - orderable
openChoice - open choice
choices - choices
defaultValue - default value
maxLength - max lenght
Method Detail

getPropertyType

public EnumPropertyType getPropertyType()

Returns:
property type

getMaxLength

public Long getMaxLength()
Returns:
String maxLength

setMaxLength

public void setMaxLength(Long maxLength)
Setter for maxLength

Parameters:
maxLength - maxLength


Copyright © 2010 eXo Platform SAS. All Rights Reserved.