|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IIntegerPM
THe IIntegerPM
is interface for PresentationModel
classes
that contain an numeric integer value.
Method Summary | |
---|---|
java.math.BigInteger |
getBigInteger()
Returns the value of this PM as a BigInteger . |
java.lang.Byte |
getByte()
Returns the value of this PM as a Byte . |
java.lang.Integer |
getInteger()
Returns the value of this PM as an Integer . |
java.lang.Long |
getLong()
Returns the value of this PM as a Long . |
long |
getMaxValue()
Returns the maximum numeric value that is valid for this PM's value. |
long |
getMinValue()
Returns the minimum numeric value that is valid for this PM's value. |
java.lang.Short |
getShort()
Returns the value of this PM as a Short . |
void |
setBigInteger(java.math.BigInteger value)
Sets the value of this PM to the given BigInteger . |
void |
setByte(java.lang.Byte value)
Sets the value if this PM to the given Byte . |
void |
setInteger(java.lang.Integer value)
Sets the value of this PM to the given Integer . |
void |
setLong(java.lang.Long value)
Sets the value of this PM to the given Long . |
void |
setMaxValue(long maxValue)
Sets the maximum numeric long value that is valid for this PM's value. |
void |
setMinValue(long minValue)
Sets the minimum numeric long value that is valid for this PM's value. |
void |
setShort(java.lang.Short value)
Sets the value of this PM to the given Short . |
Methods inherited from interface org.beanfabrics.model.ITextPM |
---|
getOptions, getText, isModified, preset, reformat, reset, setOptions, setText |
Methods inherited from interface org.beanfabrics.model.IValuePM |
---|
getDescription, getTitle, isEditable, isEmpty, isMandatory, setDescription, setEditable, setMandatory, setTitle |
Methods inherited from interface org.beanfabrics.Bean |
---|
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from interface org.beanfabrics.validation.Validatable |
---|
getValidationState, getValidator, isValid, revalidate |
Methods inherited from interface org.beanfabrics.support.Supportable |
---|
getSupportMap |
Methods inherited from interface org.beanfabrics.context.ContextOwner |
---|
getContext |
Methods inherited from interface org.beanfabrics.HasComparable |
---|
getComparable |
Method Detail |
---|
void setByte(java.lang.Byte value)
Byte
.
value
- the Byte valuejava.lang.Byte getByte() throws ConversionException
Byte
.
ConversionException
- if the text value of this PM cannot be
converted to a Byte
void setShort(java.lang.Short value)
Short
.
value
- the Short valuejava.lang.Short getShort() throws ConversionException
Short
.
ConversionException
- if the text value of this PM cannot be
converted to a Short
void setInteger(java.lang.Integer value)
Integer
.
value
- the Integer valuejava.lang.Integer getInteger() throws ConversionException
Integer
.
ConversionException
- if the text value of this PM cannot be
converted to an Integer
void setLong(java.lang.Long value)
Long
.
value
- the Long valuejava.lang.Long getLong() throws ConversionException
Long
.
ConversionException
- if the text value of this PM cannot be
converted to a Long
void setBigInteger(java.math.BigInteger value)
BigInteger
.
value
- the BigInteger valuejava.math.BigInteger getBigInteger() throws ConversionException
BigInteger
.
ConversionException
- if the text value of this PM cannot be
converted to a BigInteger
void setMinValue(long minValue)
minValue
- the minimum valuegetMinValue()
long getMinValue()
Implementors must ensure that the validation of this PM should evaluate to invalid if the numeric value of this PM is less than the specified minimum value.
void setMaxValue(long maxValue)
maxValue
- the maximum valuegetMaxValue()
long getMaxValue()
Implementors must ensure that the validation of this PM should evaluate to invalid if the numeric value of this PM is greater than the specified maximum value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |