public static class WatergisDefaultRuleSet.Numeric extends WatergisDefaultRuleSet.DataType
| Constructor and Description |
|---|
Numeric(int precision,
int scale,
boolean notNull)
Creates a new Numeric object.
|
Numeric(int precision,
int scale,
boolean notNull,
boolean editable)
Creates a new Numeric object.
|
Numeric(int precision,
int scale,
boolean notNull,
boolean editable,
boolean showDecimalsOnlyIfExists)
Creates a new Numeric object.
|
Numeric(int precision,
int scale,
boolean notNull,
boolean editable,
double min,
double max)
Creates a new Numeric object.
|
Numeric(int precision,
int scale,
boolean notNull,
boolean unique,
String field,
String table)
Creates a new Numeric object.
|
| Modifier and Type | Method and Description |
|---|---|
Double |
getMax()
DOCUMENT ME!
|
Double |
getMin()
DOCUMENT ME!
|
int |
getPrecision()
DOCUMENT ME!
|
int |
getScale()
DOCUMENT ME!
|
boolean |
isMaxEqualsAllowd()
DOCUMENT ME!
|
boolean |
isMinEqualsAllowd()
DOCUMENT ME!
|
boolean |
isShowDecimalsOnlyIfExists()
DOCUMENT ME!
|
WatergisDefaultRuleSet.ValidationResult |
isValidValue(Object value)
DOCUMENT ME!
|
String |
range(String name)
DOCUMENT ME!
|
void |
setMax(Double max)
DOCUMENT ME!
|
void |
setMaxEqualsAllowd(boolean maxEqualsAllowd)
DOCUMENT ME!
|
void |
setMin(Double min)
DOCUMENT ME!
|
void |
setMinEqualsAllowd(boolean minEqualsAllowd)
DOCUMENT ME!
|
void |
setRange(Double min,
Double max)
DOCUMENT ME!
|
void |
setShowDecimalsOnlyIfExists(boolean showDecimalsOnlyIfExists)
DOCUMENT ME!
|
String |
toString() |
public Numeric(int precision,
int scale,
boolean notNull)
precision - DOCUMENT ME!scale - DOCUMENT ME!notNull - DOCUMENT ME!public Numeric(int precision,
int scale,
boolean notNull,
boolean editable)
precision - DOCUMENT ME!scale - DOCUMENT ME!notNull - DOCUMENT ME!editable - DOCUMENT ME!public Numeric(int precision,
int scale,
boolean notNull,
boolean editable,
boolean showDecimalsOnlyIfExists)
precision - DOCUMENT ME!scale - DOCUMENT ME!notNull - DOCUMENT ME!editable - DOCUMENT ME!showDecimalsOnlyIfExists - DOCUMENT ME!public Numeric(int precision,
int scale,
boolean notNull,
boolean editable,
double min,
double max)
precision - DOCUMENT ME!scale - DOCUMENT ME!notNull - DOCUMENT ME!editable - DOCUMENT ME!min - DOCUMENT ME!max - DOCUMENT ME!public boolean isShowDecimalsOnlyIfExists()
public void setShowDecimalsOnlyIfExists(boolean showDecimalsOnlyIfExists)
showDecimalsOnlyIfExists - the showDecimalsOnlyIfExists to setpublic int getPrecision()
public int getScale()
public WatergisDefaultRuleSet.ValidationResult isValidValue(Object value)
WatergisDefaultRuleSet.DataTypeisValidValue in class WatergisDefaultRuleSet.DataTypevalue - DOCUMENT ME!public String toString()
toString in class WatergisDefaultRuleSet.DataTypepublic String range(String name)
WatergisDefaultRuleSet.DataTyperange in class WatergisDefaultRuleSet.DataTypename - DOCUMENT ME!public Double getMin()
public void setMin(Double min)
min - the min to setpublic Double getMax()
public void setMax(Double max)
max - the max to setpublic void setRange(Double min, Double max)
min - DOCUMENT ME!max - the max to setpublic boolean isMinEqualsAllowd()
public void setMinEqualsAllowd(boolean minEqualsAllowd)
minEqualsAllowd - the minEqualsAllowd to setpublic boolean isMaxEqualsAllowd()
public void setMaxEqualsAllowd(boolean maxEqualsAllowd)
maxEqualsAllowd - the maxEqualsAllowd to setCopyright © 2012–2026 cismet GmbH. All rights reserved.