Public Member Functions

org.exolab.castor.builder.types.XSGYearMonth Class Reference

Inheritance diagram for org.exolab.castor.builder.types.XSGYearMonth:
org.exolab.castor.builder.types.XSType

List of all members.

Public Member Functions

 XSGYearMonth ()
String newInstanceCode ()
JType getJType ()
GYearMonth getMaxExclusive ()
GYearMonth getMaxInclusive ()
GYearMonth getMinExclusive ()
GYearMonth getMinInclusive ()
void setMaxExclusive (GYearMonth max)
void setMaxInclusive (GYearMonth max)
void setMinExclusive (GYearMonth min)
void setMinInclusive (GYearMonth min)
boolean hasMinimum ()
boolean hasMaximum ()
void setFacets (SimpleType simpleType)
void validationCode (JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName)

Detailed Description

The XML Schema gYearMonth type

Author:
Arnaud Blandin
Version:
$Revision $
Date:
2004/10/01 13:24:47

Constructor & Destructor Documentation

org.exolab.castor.builder.types.XSGYearMonth.XSGYearMonth (  ) 

Member Function Documentation

JType org.exolab.castor.builder.types.XSGYearMonth.getJType (  )  [virtual]

Returns the JType that this XSType represents

Returns:
the JType that this XSType represents

Implements org.exolab.castor.builder.types.XSType.

Referenced by org.exolab.castor.builder.types.XSGYearMonth.newInstanceCode().

GYearMonth org.exolab.castor.builder.types.XSGYearMonth.getMaxExclusive (  ) 

Returns the maximum exclusive value that this XSGYearMonth can hold.

Returns:
the maximum exclusive value that this XSGYearMonth can hold. If no maximum exclusive value has been set, Null will be returned
See also:
getMaxInclusive

Referenced by org.exolab.castor.builder.types.XSGYearMonth.validationCode().

GYearMonth org.exolab.castor.builder.types.XSGYearMonth.getMaxInclusive (  ) 

Returns the maximum inclusive value that this XSGYearMonth can hold.

Returns:
the maximum inclusive value that this XSGYearMonth can hold. If no maximum inclusive value has been set, Null will be returned
See also:
getMaxExclusive

Referenced by org.exolab.castor.builder.types.XSGYearMonth.validationCode().

GYearMonth org.exolab.castor.builder.types.XSGYearMonth.getMinExclusive (  ) 

Returns the minimum exclusive value that this XSGYearMonth can hold.

Returns:
the minimum exclusive value that this XSGYearMonth can hold. If no minimum exclusive value has been set, Null will be returned
See also:
getMinInclusive
setMaxInclusive

Referenced by org.exolab.castor.builder.types.XSGYearMonth.validationCode().

GYearMonth org.exolab.castor.builder.types.XSGYearMonth.getMinInclusive (  ) 

Returns the minimum inclusive value that this XSGYearMonth can hold.

Returns:
the minimum inclusive value that this can XSGYearMonth hold. If no minimum inclusive value has been set, Null will be returned
See also:
getMinExclusive

Referenced by org.exolab.castor.builder.types.XSGYearMonth.validationCode().

boolean org.exolab.castor.builder.types.XSGYearMonth.hasMaximum (  ) 
boolean org.exolab.castor.builder.types.XSGYearMonth.hasMinimum (  ) 
String org.exolab.castor.builder.types.XSGYearMonth.newInstanceCode (  ) 

Returns the Java code necessary to create a new instance of the JType associated with this XSType

Reimplemented from org.exolab.castor.builder.types.XSType.

References org.exolab.castor.builder.types.XSGYearMonth.getJType(), and org.exolab.javasource.JType.getName().

void org.exolab.castor.builder.types.XSGYearMonth.setMaxExclusive ( GYearMonth  max  ) 

Sets the maximum exclusive value that this XSGYearMonth can hold.

Parameters:
max the maximum exclusive value this XSGYearMonth can be
See also:
setMaxInclusive

Referenced by org.exolab.castor.builder.types.XSGYearMonth.setFacets().

void org.exolab.castor.builder.types.XSGYearMonth.setMaxInclusive ( GYearMonth  max  ) 

Sets the maximum inclusive value that this XSGYearMonth can hold.

Parameters:
max the maximum inclusive value this XSGYearMonth can be
See also:
setMaxExclusive

Referenced by org.exolab.castor.builder.types.XSGYearMonth.setFacets().

void org.exolab.castor.builder.types.XSGYearMonth.setMinExclusive ( GYearMonth  min  ) 

Sets the minimum exclusive value that this XSGYearMonth can hold.

Parameters:
max the minimum exclusive value this XSGYearMonth can be
See also:
setMinInclusive

Referenced by org.exolab.castor.builder.types.XSGYearMonth.setFacets().

void org.exolab.castor.builder.types.XSGYearMonth.setMinInclusive ( GYearMonth  min  ) 

Sets the minimum inclusive value that this XSGYearMonth can hold.

Parameters:
max the minimum inclusive value this XSGYearMonth can be
See also:
setMinExclusive

Referenced by org.exolab.castor.builder.types.XSGYearMonth.setFacets().

void org.exolab.castor.builder.types.XSGYearMonth.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.

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.

Implements org.exolab.castor.builder.types.XSType.

References org.exolab.javasource.JSourceCode.add(), org.exolab.javasource.JSourceCode.append(), org.exolab.castor.builder.types.XSGYearMonth.getMaxExclusive(), org.exolab.castor.builder.types.XSGYearMonth.getMaxInclusive(), org.exolab.castor.builder.types.XSGYearMonth.getMinExclusive(), org.exolab.castor.builder.types.XSGYearMonth.getMinInclusive(), org.exolab.castor.builder.types.XSGYearMonth.hasMaximum(), org.exolab.castor.builder.types.XSGYearMonth.hasMinimum(), org.exolab.javasource.JSourceCode.indent(), org.exolab.castor.types.GYearMonth.toString(), and org.exolab.javasource.JSourceCode.unindent().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties