Public Member Functions | |
| XSByte () | |
| XSByte (boolean asWrapper) | |
| JType | getJType () |
| Byte | getMaxExclusive () |
| Byte | getMaxInclusive () |
| Byte | getMinExclusive () |
| Byte | getMinInclusive () |
| boolean | hasMaximum () |
| boolean | hasMinimum () |
| void | setMaxExclusive (byte max) |
| void | setMaxExclusive (Byte max) |
| void | setMaxInclusive (byte max) |
| void | setMaxInclusive (Byte max) |
| void | setMinExclusive (byte min) |
| void | setMinExclusive (Byte min) |
| void | setMinInclusive (byte min) |
| void | setMinInclusive (Byte min) |
| void | setFacets (SimpleType simpleType) |
| String | createToJavaObjectCode (String variableName) |
| String | createFromJavaObjectCode (String variableName) |
| void | validationCode (JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName) |
Package Attributes | |
| Byte | maxInclusive = null |
| Byte | maxExclusive = null |
| Byte | minInclusive = null |
| Byte | minExclusive = null |
The XML Schema Byte type
| org.exolab.castor.builder.types.XSByte.XSByte | ( | ) |
| org.exolab.castor.builder.types.XSByte.XSByte | ( | boolean | asWrapper | ) |
References org.exolab.javasource.JType.Byte.
| String org.exolab.castor.builder.types.XSByte.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.XSByte.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.XSByte.getJType | ( | ) | [virtual] |
Returns the JType that this XSType represents
Implements org.exolab.castor.builder.types.XSType.
| Byte org.exolab.castor.builder.types.XSByte.getMaxExclusive | ( | ) |
Returns the maximum exclusive value that this XSByte can hold.
References org.exolab.castor.builder.types.XSByte.maxExclusive.
Referenced by org.exolab.castor.builder.types.XSByte.validationCode().
| Byte org.exolab.castor.builder.types.XSByte.getMaxInclusive | ( | ) |
Returns the maximum inclusive value that this XSByte can hold.
References org.exolab.castor.builder.types.XSByte.maxInclusive.
Referenced by org.exolab.castor.builder.types.XSByte.validationCode().
| Byte org.exolab.castor.builder.types.XSByte.getMinExclusive | ( | ) |
Returns the minimum exclusive value that this XSByte can hold.
References org.exolab.castor.builder.types.XSByte.minExclusive.
Referenced by org.exolab.castor.builder.types.XSByte.validationCode().
| Byte org.exolab.castor.builder.types.XSByte.getMinInclusive | ( | ) |
Returns the minimum inclusive value that this XSByte can hold.
References org.exolab.castor.builder.types.XSByte.minInclusive.
Referenced by org.exolab.castor.builder.types.XSByte.validationCode().
| boolean org.exolab.castor.builder.types.XSByte.hasMaximum | ( | ) |
| boolean org.exolab.castor.builder.types.XSByte.hasMinimum | ( | ) |
| void org.exolab.castor.builder.types.XSByte.setFacets | ( | SimpleType | simpleType | ) | [virtual] |
Reads and sets the facets for XSByte override the readFacet method of XSType
| simpletype | the Simpletype containing the facets | |
| xsType | the XSType to set the facets of |
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.XSByte.setMaxExclusive(), org.exolab.castor.builder.types.XSByte.setMaxInclusive(), org.exolab.castor.builder.types.XSByte.setMinExclusive(), org.exolab.castor.builder.types.XSByte.setMinInclusive(), org.exolab.castor.builder.types.XSPatternBase.setPattern(), and org.exolab.castor.xml.schema.Facet.toByte().
Referenced by org.exolab.castor.builder.TypeConversion.convertType().
| void org.exolab.castor.builder.types.XSByte.setMaxExclusive | ( | byte | max | ) |
Sets the maximum exclusive value that this XSByte can hold.
| max | the maximum exclusive value this XSByte can be |
References org.exolab.castor.builder.types.XSByte.maxExclusive, and org.exolab.castor.builder.types.XSByte.maxInclusive.
Referenced by org.exolab.castor.builder.types.XSByte.setFacets().
| void org.exolab.castor.builder.types.XSByte.setMaxExclusive | ( | Byte | max | ) |
Sets the maximum exclusive value that this XSByte can hold.
| max | the maximum exclusive value this XSByte can be |
References org.exolab.castor.builder.types.XSByte.maxExclusive, and org.exolab.castor.builder.types.XSByte.maxInclusive.
| void org.exolab.castor.builder.types.XSByte.setMaxInclusive | ( | Byte | max | ) |
Sets the maximum inclusive value that this XSByte can hold.
| max | the maximum inclusive value this XSByte can be |
References org.exolab.castor.builder.types.XSByte.maxExclusive, and org.exolab.castor.builder.types.XSByte.maxInclusive.
| void org.exolab.castor.builder.types.XSByte.setMaxInclusive | ( | byte | max | ) |
Sets the maximum inclusive value that this XSByte can hold.
| max | the maximum inclusive value this XSByte can be |
References org.exolab.castor.builder.types.XSByte.maxExclusive, and org.exolab.castor.builder.types.XSByte.maxInclusive.
Referenced by org.exolab.castor.builder.types.XSByte.setFacets().
| void org.exolab.castor.builder.types.XSByte.setMinExclusive | ( | Byte | min | ) |
Sets the minimum exclusive value that this XSByte can hold.
| max | the minimum exclusive value this XSByte can be |
References org.exolab.castor.builder.types.XSByte.minExclusive, and org.exolab.castor.builder.types.XSByte.minInclusive.
| void org.exolab.castor.builder.types.XSByte.setMinExclusive | ( | byte | min | ) |
Sets the minimum exclusive value that this XSByte can hold.
| max | the minimum exclusive value this XSByte can be |
References org.exolab.castor.builder.types.XSByte.minExclusive, and org.exolab.castor.builder.types.XSByte.minInclusive.
Referenced by org.exolab.castor.builder.types.XSByte.setFacets().
| void org.exolab.castor.builder.types.XSByte.setMinInclusive | ( | Byte | min | ) |
Sets the minimum inclusive value that this XSByte can hold.
| max | the minimum inclusive value this XSByte can be |
References org.exolab.castor.builder.types.XSByte.minExclusive, and org.exolab.castor.builder.types.XSByte.minInclusive.
| void org.exolab.castor.builder.types.XSByte.setMinInclusive | ( | byte | min | ) |
Sets the minimum inclusive value that this XSByte can hold.
| max | the minimum inclusive value this XSByte can be |
References org.exolab.castor.builder.types.XSByte.minExclusive, and org.exolab.castor.builder.types.XSByte.minInclusive.
Referenced by org.exolab.castor.builder.types.XSByte.setFacets().
| void org.exolab.castor.builder.types.XSByte.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.XSByte.getMaxExclusive(), org.exolab.castor.builder.types.XSByte.getMaxInclusive(), org.exolab.castor.builder.types.XSByte.getMinExclusive(), org.exolab.castor.builder.types.XSByte.getMinInclusive(), org.exolab.castor.builder.types.XSPatternBase.getPattern(), org.exolab.castor.builder.types.XSByte.hasMaximum(), and org.exolab.castor.builder.types.XSByte.hasMinimum().
Byte org.exolab.castor.builder.types.XSByte.maxExclusive = null [package] |
Byte org.exolab.castor.builder.types.XSByte.maxInclusive = null [package] |
Byte org.exolab.castor.builder.types.XSByte.minExclusive = null [package] |
Byte org.exolab.castor.builder.types.XSByte.minInclusive = null [package] |
1.7.0