public class ExtendedFieldDefaultValue extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
datatype
The datatype of this ExtendedFieldDefaultValue.
|
protected String |
format
The formatting pattern of this ExtendedFieldDefaultValue.
|
protected static String[] |
possibleFalseValues
Array of strings considered to be "false" values.
|
protected static String[] |
possibleTrueValues
Array of strings considered to be "true" values.
|
protected boolean |
valid
The valid state of this ExtendedFieldDefaultValue.
|
protected String |
value
The value of this ExtendedFieldDefaultValue.
|
Constructor and Description |
---|
ExtendedFieldDefaultValue(String aValue,
String aFormat,
int aDatatype)
Constructor for the ExtendedFieldDefaultValues class.
|
protected static final String[] possibleTrueValues
protected static final String[] possibleFalseValues
protected final boolean valid
protected int datatype
public ExtendedFieldDefaultValue(String aValue, String aFormat, int aDatatype)
aValue
- The given default valueaFormat
- the given formatting patternaDatatype
- the given datatypepublic boolean isValid()
public String getDBValue()
Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.