org.exolab.castor.builder.types
public final class XSByte extends XSPatternBase
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:07:55 $
| Field Summary | |
|---|---|
| Byte | maxExclusive |
| Byte | maxInclusive |
| Byte | minExclusive |
| Byte | minInclusive |
| Constructor Summary | |
|---|---|
| XSByte() | |
| XSByte(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 |
| Byte | getMaxExclusive()
Returns the maximum exclusive value that this XSByte can hold. |
| Byte | getMaxInclusive()
Returns the maximum inclusive value that this XSByte can hold. |
| Byte | getMinExclusive()
Returns the minimum exclusive value that this XSByte can hold. |
| Byte | getMinInclusive()
Returns the minimum inclusive value that this XSByte can hold. |
| boolean | hasMaximum() |
| boolean | hasMinimum() |
| void | setFacets(SimpleType simpleType)
Reads and sets the facets for XSByte
override the readFacet method of XSType |
| void | setMaxExclusive(byte max)
Sets the maximum exclusive value that this XSByte can hold. |
| void | setMaxExclusive(Byte max)
Sets the maximum exclusive value that this XSByte can hold. |
| void | setMaxInclusive(byte max)
Sets the maximum inclusive value that this XSByte can hold. |
| void | setMaxInclusive(Byte max)
Sets the maximum inclusive value that this XSByte can hold. |
| void | setMinExclusive(byte min)
Sets the minimum exclusive value that this XSByte can hold. |
| void | setMinExclusive(Byte min)
Sets the minimum exclusive value that this XSByte can hold. |
| void | setMinInclusive(byte min)
Sets the minimum inclusive value that this XSByte can hold. |
| void | setMinInclusive(Byte min)
Sets the minimum inclusive value that this XSByte 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 XSByte can hold. If no maximum exclusive value has been set, Null will be returned
See Also: XSByte
Returns: the maximum inclusive value that this XSByte can hold. If no maximum inclusive value has been set, Null will be returned
See Also: XSByte
Returns: the minimum exclusive value that this XSByte can hold. If no minimum exclusive value has been set, Null will be returned
Returns: the minimum inclusive value that this XSByte can hold. If no minimum inclusive value has been set, Null will be returned
See Also: XSByte
Parameters: simpletype the Simpletype containing the facets xsType the XSType to set the facets of
See Also: XSType
Parameters: max the maximum exclusive value this XSByte can be
See Also: XSByte
Parameters: max the maximum exclusive value this XSByte can be
See Also: XSByte
Parameters: max the maximum inclusive value this XSByte can be
See Also: XSByte
Parameters: max the maximum inclusive value this XSByte can be
See Also: XSByte
Parameters: max the minimum exclusive value this XSByte can be
See Also: XSByte
Parameters: max the minimum exclusive value this XSByte can be
See Also: XSByte
Parameters: max the minimum inclusive value this XSByte can be
See Also: XSByte
Parameters: max the minimum inclusive value this XSByte can be
See Also: XSByte
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.