|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.builder.types.XSType
org.exolab.castor.builder.types.XSPatternBase
org.exolab.castor.builder.types.XSFloat
The XML Schema Float type
Field Summary | |
(package private) java.lang.Float |
maxExclusive
|
(package private) java.lang.Float |
maxInclusive
|
(package private) java.lang.Float |
minExclusive
|
(package private) java.lang.Float |
minInclusive
|
Constructor Summary | |
XSFloat()
|
|
XSFloat(boolean asWrapper)
|
Method Summary | |
java.lang.String |
createFromJavaObjectCode(java.lang.String variableName)
Returns the String necessary to convert an Object to an instance of this XSType. |
java.lang.String |
createToJavaObjectCode(java.lang.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 |
java.lang.Float |
getMaxExclusive()
Returns the maximum exclusive value that this XSFloat can hold. |
java.lang.Float |
getMaxInclusive()
Returns the maximum inclusive value that this XSFloat can hold. |
java.lang.Float |
getMinExclusive()
Returns the minimum exclusive value that this XSFloat can hold. |
java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.Float min)
Sets the minimum inclusive value that this XSFloat can hold. |
Methods inherited from class org.exolab.castor.builder.types.XSPatternBase |
getPattern, setPattern |
Methods inherited from class org.exolab.castor.builder.types.XSType |
getFacets, getName, getType, isDateTime, isEnumerated, isPrimitive, newInstanceCode, setAsEnumertated |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
java.lang.Float maxInclusive
java.lang.Float maxExclusive
java.lang.Float minInclusive
java.lang.Float minExclusive
Constructor Detail |
public XSFloat()
public XSFloat(boolean asWrapper)
Method Detail |
public JType getJType()
getJType
in class XSType
public java.lang.Float getMaxExclusive()
getMaxInclusive()
public java.lang.Float getMaxInclusive()
getMaxExclusive()
public java.lang.Float getMinExclusive()
getMinInclusive()
,
setMaxInclusive(float)
public java.lang.Float getMinInclusive()
getMinExclusive()
public boolean hasMaximum()
public boolean hasMinimum()
public void setMaxExclusive(float max)
max
- the maximum exclusive value this XSFloat can besetMaxInclusive(float)
public void setMaxExclusive(java.lang.Float max)
max
- the maximum exclusive value this XSFloat can besetMaxInclusive(float)
public void setMaxInclusive(float max)
max
- the maximum inclusive value this XSFloat can besetMaxExclusive(float)
public void setMaxInclusive(java.lang.Float max)
max
- the maximum inclusive value this XSFloat can besetMaxExclusive(float)
public void setMinExclusive(float min)
setMinInclusive(float)
public void setMinExclusive(java.lang.Float min)
setMinInclusive(float)
public void setMinInclusive(float min)
setMinExclusive(float)
public void setMinInclusive(java.lang.Float min)
setMinExclusive(float)
public void setFacets(SimpleType simpleType)
setFacets
in class XSType
simpleType
- the SimpleType containing the facetspublic java.lang.String createToJavaObjectCode(java.lang.String variableName)
createToJavaObjectCode
in class XSType
variableName
- the name of the instance variable
public java.lang.String createFromJavaObjectCode(java.lang.String variableName)
createFromJavaObjectCode
in class XSType
variableName
- the name of the Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |