Public Member Functions | |
XSDouble () | |
XSDouble (boolean asWrapper) | |
JType | getJType () |
Double | getMaxExclusive () |
Double | getMaxInclusive () |
Double | getMinExclusive () |
Double | getMinInclusive () |
boolean | hasMaximum () |
boolean | hasMinimum () |
void | setMaxExclusive (double max) |
void | setMaxExclusive (Double max) |
void | setMaxInclusive (double max) |
void | setMaxInclusive (Double max) |
void | setMinExclusive (double min) |
void | setMinExclusive (Double min) |
void | setMinInclusive (double min) |
void | setMinInclusive (Double min) |
void | setFacets (SimpleType simpleType) |
String | createToJavaObjectCode (String variableName) |
String | createFromJavaObjectCode (String variableName) |
void | validationCode (JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName) |
Package Attributes | |
Double | maxInclusive = null |
Double | maxExclusive = null |
Double | minInclusive = null |
Double | minExclusive = null |
The XML Schema double type
org.exolab.castor.builder.types.XSDouble.XSDouble | ( | ) |
org.exolab.castor.builder.types.XSDouble.XSDouble | ( | boolean | asWrapper | ) |
References org.exolab.javasource.JType.Double.
String org.exolab.castor.builder.types.XSDouble.createFromJavaObjectCode | ( | String | variableName | ) |
Returns the String necessary to convert an Object to an instance of this XSType. This method is really only useful for primitive types
variableName | the name of the Object |
Reimplemented from org.exolab.castor.builder.types.XSType.
String org.exolab.castor.builder.types.XSDouble.createToJavaObjectCode | ( | String | variableName | ) |
Returns the String necessary to convert an instance of this XSType to an Object. This method is really only useful for primitive types
variableName | the name of the instance variable |
Reimplemented from org.exolab.castor.builder.types.XSType.
JType org.exolab.castor.builder.types.XSDouble.getJType | ( | ) | [virtual] |
Returns the JType that this XSType represents
Implements org.exolab.castor.builder.types.XSType.
Double org.exolab.castor.builder.types.XSDouble.getMaxExclusive | ( | ) |
Returns the maximum exclusive value that this XSReal can hold.
References org.exolab.castor.builder.types.XSDouble.maxExclusive.
Referenced by org.exolab.castor.builder.types.XSDouble.validationCode().
Double org.exolab.castor.builder.types.XSDouble.getMaxInclusive | ( | ) |
Returns the maximum inclusive value that this XSReal can hold.
References org.exolab.castor.builder.types.XSDouble.maxInclusive.
Referenced by org.exolab.castor.builder.types.XSDouble.validationCode().
Double org.exolab.castor.builder.types.XSDouble.getMinExclusive | ( | ) |
Returns the minimum exclusive value that this XSReal can hold.
References org.exolab.castor.builder.types.XSDouble.minExclusive.
Referenced by org.exolab.castor.builder.types.XSDouble.validationCode().
Double org.exolab.castor.builder.types.XSDouble.getMinInclusive | ( | ) |
Returns the minimum inclusive value that this XSReal can hold.
References org.exolab.castor.builder.types.XSDouble.minInclusive.
Referenced by org.exolab.castor.builder.types.XSDouble.validationCode().
boolean org.exolab.castor.builder.types.XSDouble.hasMaximum | ( | ) |
boolean org.exolab.castor.builder.types.XSDouble.hasMinimum | ( | ) |
void org.exolab.castor.builder.types.XSDouble.setFacets | ( | SimpleType | simpleType | ) | [virtual] |
Reads and sets the facets for XSReal
simpleType | the SimpleType containing the facets |
Implements org.exolab.castor.builder.types.XSType.
References org.exolab.castor.builder.types.XSType.getFacets(), org.exolab.castor.xml.schema.Facet.getName(), org.exolab.castor.xml.schema.Facet.getValue(), org.exolab.castor.builder.types.XSDouble.setMaxExclusive(), org.exolab.castor.builder.types.XSDouble.setMaxInclusive(), org.exolab.castor.builder.types.XSDouble.setMinExclusive(), org.exolab.castor.builder.types.XSDouble.setMinInclusive(), org.exolab.castor.builder.types.XSPatternBase.setPattern(), and org.exolab.castor.xml.schema.Facet.toDouble().
Referenced by org.exolab.castor.builder.TypeConversion.convertType().
void org.exolab.castor.builder.types.XSDouble.setMaxExclusive | ( | double | max | ) |
Sets the maximum exclusive value that this XSReal can hold.
max | the maximum exclusive value this XSReal can be |
References org.exolab.castor.builder.types.XSDouble.maxExclusive.
Referenced by org.exolab.castor.builder.types.XSDouble.setFacets().
void org.exolab.castor.builder.types.XSDouble.setMaxExclusive | ( | Double | max | ) |
Sets the maximum exclusive value that this XSReal can hold.
max | the maximum exclusive value this XSReal can be |
References org.exolab.castor.builder.types.XSDouble.maxExclusive.
void org.exolab.castor.builder.types.XSDouble.setMaxInclusive | ( | Double | max | ) |
Sets the maximum inclusive value that this XSReal can hold.
max | the maximum inclusive value this XSReal can be |
References org.exolab.castor.builder.types.XSDouble.maxInclusive.
void org.exolab.castor.builder.types.XSDouble.setMaxInclusive | ( | double | max | ) |
Sets the maximum inclusive value that this XSReal can hold.
max | the maximum inclusive value this XSReal can be |
References org.exolab.castor.builder.types.XSDouble.maxInclusive.
Referenced by org.exolab.castor.builder.types.XSDouble.setFacets().
void org.exolab.castor.builder.types.XSDouble.setMinExclusive | ( | Double | min | ) |
Sets the minimum exclusive value that this XSReal can hold.
max | the minimum exclusive value this XSReal can be |
References org.exolab.castor.builder.types.XSDouble.minExclusive.
void org.exolab.castor.builder.types.XSDouble.setMinExclusive | ( | double | min | ) |
Sets the minimum exclusive value that this XSReal can hold.
max | the minimum exclusive value this XSReal can be |
References org.exolab.castor.builder.types.XSDouble.minExclusive.
Referenced by org.exolab.castor.builder.types.XSDouble.setFacets().
void org.exolab.castor.builder.types.XSDouble.setMinInclusive | ( | Double | min | ) |
Sets the minimum inclusive value that this XSReal can hold.
max | the minimum inclusive value this XSReal can be |
References org.exolab.castor.builder.types.XSDouble.minInclusive.
void org.exolab.castor.builder.types.XSDouble.setMinInclusive | ( | double | min | ) |
Sets the minimum inclusive value that this XSReal can hold.
max | the minimum inclusive value this XSReal can be |
References org.exolab.castor.builder.types.XSDouble.minInclusive.
Referenced by org.exolab.castor.builder.types.XSDouble.setFacets().
void org.exolab.castor.builder.types.XSDouble.validationCode | ( | JSourceCode | jsc, | |
String | fixedValue, | |||
String | fieldValidatorInstanceName | |||
) | [virtual] |
Creates the validation code for an instance of this XSType. The validation code should if necessary create a newly configured TypeValidator, that should then be added to a FieldValidator instance whose name is provided.
fixedValue | a fixed value to use if any | |
jsc | the JSourceCode to fill in. | |
fieldValidatorInstanceName | the name of the FieldValidator that the configured TypeValidator should be added to. |
Implements org.exolab.castor.builder.types.XSType.
References org.exolab.javasource.JSourceCode.add(), org.exolab.javasource.JSourceCode.append(), org.exolab.castor.builder.types.XSType.escapePattern(), org.exolab.castor.builder.types.XSDouble.getMaxExclusive(), org.exolab.castor.builder.types.XSDouble.getMaxInclusive(), org.exolab.castor.builder.types.XSDouble.getMinExclusive(), org.exolab.castor.builder.types.XSDouble.getMinInclusive(), org.exolab.castor.builder.types.XSPatternBase.getPattern(), org.exolab.castor.builder.types.XSDouble.hasMaximum(), and org.exolab.castor.builder.types.XSDouble.hasMinimum().
Double org.exolab.castor.builder.types.XSDouble.maxExclusive = null [package] |
Double org.exolab.castor.builder.types.XSDouble.maxInclusive = null [package] |
Double org.exolab.castor.builder.types.XSDouble.minExclusive = null [package] |
Double org.exolab.castor.builder.types.XSDouble.minInclusive = null [package] |