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

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

public class DecimalPropertyDefinition
extends BasePropertyDefinition<Double>

Version:
$Id: $
Author:
Oksana Vereshchaka

Constructor Summary
DecimalPropertyDefinition()
          Default constructor.
DecimalPropertyDefinition(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<Double>> choices, Double[] defaultValue, Precision precision, Double minDecimal, Double maxDecimal)
           
 
Method Summary
 Double getMaxDecimal()
           
 Double getMinDecimal()
           
 Precision getPrecision()
           
 EnumPropertyType getPropertyType()
          
 void setMaxDecimal(Double maxDecimal)
          Setter for maxDecimal.
 void setMinDecimal(Double minDecimal)
          Setter for minDecimal.
 void setPrecision(Precision precision)
          Setter for precision.
 
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

DecimalPropertyDefinition

public DecimalPropertyDefinition()
Default constructor.


DecimalPropertyDefinition

public DecimalPropertyDefinition(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<Double>> choices,
                                 Double[] defaultValue,
                                 Precision precision,
                                 Double minDecimal,
                                 Double maxDecimal)
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
precision - precision
minDecimal - min decimal value
maxDecimal - max decimal value
Method Detail

getPrecision

public Precision getPrecision()
Returns:
property precision

getMinDecimal

public Double getMinDecimal()
Returns:
property min decimal

getMaxDecimal

public Double getMaxDecimal()
Returns:
property max decimal

getPropertyType

public EnumPropertyType getPropertyType()

Returns:
property type

setPrecision

public void setPrecision(Precision precision)
Setter for precision.

Parameters:
precision - precision

setMinDecimal

public void setMinDecimal(Double minDecimal)
Setter for minDecimal.

Parameters:
minDecimal - minDecimal

setMaxDecimal

public void setMaxDecimal(Double maxDecimal)
Setter for maxDecimal.

Parameters:
maxDecimal - maxDecimal


Copyright © 2010 eXo Platform SAS. All Rights Reserved.