ru.goodidea.df.dictionary.constraint
Class LongConstraint

java.lang.Object
  extended by ru.goodidea.df.dictionary.constraint.CommonConstraint
      extended by ru.goodidea.df.dictionary.constraint.Constraint
          extended by ru.goodidea.df.dictionary.constraint.NumberConstraint
              extended by ru.goodidea.df.dictionary.constraint.LongConstraint
All Implemented Interfaces:
java.io.Serializable, ICloned, XMLable, XMLFillable

public class LongConstraint
extends NumberConstraint
implements java.io.Serializable, ICloned

Title:

Description:

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
Konstantin Pupkov
See Also:
Serialized Form

Field Summary
 
Fields inherited from class ru.goodidea.df.dictionary.constraint.CommonConstraint
editable, field, nullable, required, visible
 
Fields inherited from interface ru.goodidea.df.xml.XMLFillable
ATTRIBUTE_HEIGHT, ATTRIBUTE_WIDTH, ATTRIBUTE_X, ATTRIBUTE_Y
 
Constructor Summary
LongConstraint()
           
 
Method Summary
protected  java.lang.Object clone()
          Creates and returns a copy of this object.
 CommonConstraint getCloned()
          getCloned
 java.lang.Number getMax()
           
 java.lang.Number getMin()
           
 void setMax(java.lang.Number value)
          setMax
 void setMin(java.lang.Number value)
          setMin
 void unsetMaxSet()
          unsetMaxIsSet
 void unsetMinSet()
          unsetMinSet
 
Methods inherited from class ru.goodidea.df.dictionary.constraint.NumberConstraint
fillXML, getFormat, isMaxset, isMinset, restoreXML, setFormat, setMaxset, setMinset
 
Methods inherited from class ru.goodidea.df.dictionary.constraint.Constraint
isProcessable, setProcessable
 
Methods inherited from class ru.goodidea.df.dictionary.constraint.CommonConstraint
applyConstraint, getField, isEditable, isNullable, isRequired, isVisible, setEditable, setField, setNullable, setRequired, setVisible
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongConstraint

public LongConstraint()
Method Detail

getMin

public java.lang.Number getMin()
Specified by:
getMin in class NumberConstraint

getMax

public java.lang.Number getMax()
Specified by:
getMax in class NumberConstraint

setMax

public void setMax(java.lang.Number value)
setMax

Specified by:
setMax in class NumberConstraint
Parameters:
value - Number

setMin

public void setMin(java.lang.Number value)
setMin

Specified by:
setMin in class NumberConstraint
Parameters:
value - Number

unsetMaxSet

public void unsetMaxSet()
unsetMaxIsSet

Overrides:
unsetMaxSet in class NumberConstraint

unsetMinSet

public void unsetMinSet()
unsetMinSet

Overrides:
unsetMinSet in class NumberConstraint

clone

protected java.lang.Object clone()
                          throws java.lang.CloneNotSupportedException
Creates and returns a copy of this object.

Overrides:
clone in class Constraint
Returns:
a clone of this instance.
Throws:
java.lang.CloneNotSupportedException - if the object's class does not support the Cloneable interface. Subclasses that override the clone method can also throw this exception to indicate that an instance cannot be cloned.

getCloned

public CommonConstraint getCloned()
getCloned

Specified by:
getCloned in interface ICloned
Returns:
CommonConstraint


Copyright © 2009. All Rights Reserved.