org.exolab.castor.builder.types
public final class XSFloat extends XSPatternBase
Version: $Revision: 1.6 $ $Date: 2005/03/05 13:41:44 $
Field Summary | |
---|---|
Float | maxExclusive |
Float | maxInclusive |
Float | minExclusive |
Float | minInclusive |
Constructor Summary | |
---|---|
XSFloat() | |
XSFloat(boolean asWrapper) |
Method Summary | |
---|---|
String | createFromJavaObjectCode(String variableName)
Returns the String necessary to convert an Object to
an instance of this XSType. |
String | createToJavaObjectCode(String variableName)
Returns the String necessary to convert an instance of this XSType
to an Object. |
JType | getJType()
Returns the JType that this XSType represents |
Float | getMaxExclusive()
Returns the maximum exclusive value that this XSFloat can hold. |
Float | getMaxInclusive()
Returns the maximum inclusive value that this XSFloat can hold. |
Float | getMinExclusive()
Returns the minimum exclusive value that this XSFloat can hold. |
Float | getMinInclusive()
Returns the minimum inclusive value that this XSFloat can hold. |
boolean | hasMaximum() |
boolean | hasMinimum() |
void | setFacets(SimpleType simpleType)
Reads and sets the facets for XSFloat |
void | setMaxExclusive(float max)
Sets the maximum exclusive value that this XSFloat can hold. |
void | setMaxExclusive(Float max)
Sets the maximum exclusive value that this XSFloat can hold. |
void | setMaxInclusive(float max)
Sets the maximum inclusive value that this XSFloat can hold. |
void | setMaxInclusive(Float max)
Sets the maximum inclusive value that this XSFloat can hold. |
void | setMinExclusive(float min)
Sets the minimum exclusive value that this XSFloat can hold. |
void | setMinExclusive(Float min)
Sets the minimum exclusive value that this XSFloat can hold. |
void | setMinInclusive(float min)
Sets the minimum inclusive value that this XSFloat can hold. |
void | setMinInclusive(Float min)
Sets the minimum inclusive value that this XSFloat can hold. |
void | validationCode(JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName)
Creates the validation code for an instance of this XSType. |
Parameters: variableName the name of the Object
Returns: the String necessary to convert an Object to an instance of this XSType
Parameters: variableName the name of the instance variable
Returns: the String necessary to convert an instance of this XSType to an Object
Returns: the JType that this XSType represents
Returns: the maximum exclusive value that this XSFloat can hold. If no maximum exclusive value has been set, Null will be returned
See Also: XSFloat
Returns: the maximum inclusive value that this XSFloat can hold. If no maximum inclusive value has been set, Null will be returned
See Also: XSFloat
Returns: the minimum exclusive value that this XSFloat can hold. If no minimum exclusive value has been set, Null will be returned
See Also: getMinInclusive
Returns: the minimum inclusive value that this XSFloat can hold. If no minimum inclusive value has been set, Null will be returned
See Also: XSFloat
Parameters: simpleType the SimpleType containing the facets
Parameters: max the maximum exclusive value this XSFloat can be
Parameters: max the maximum exclusive value this XSFloat can be
Parameters: max the maximum inclusive value this XSFloat can be
Parameters: max the maximum inclusive value this XSFloat can be
Parameters: min the minimum exclusive value this XSFloat can be
Parameters: min the minimum exclusive value this XSFloat can be
Parameters: min the minimum inclusive value this XSFloat can be
Parameters: min the minimum inclusive value this XSFloat can be
Parameters: 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.