org.exolab.castor.builder.types

Class XSGMonth

public class XSGMonth extends XSType

The XML Schema gMonth type

Version: $Revision: 6371 $ $Date: 2005-03-05 06:42:06 -0700 (Sat, 05 Mar 2005) $

Author: Arnaud Blandin

Constructor Summary
XSGMonth()
Method Summary
JTypegetJType()
GMonthgetMaxExclusive()
Returns the maximum exclusive value that this XSGMonth can hold.
GMonthgetMaxInclusive()
Returns the maximum inclusive value that this XSGMonth can hold.
GMonthgetMinExclusive()
Returns the minimum exclusive value that this XSGMonth can hold.
GMonthgetMinInclusive()
Returns the minimum inclusive value that this XSGMonth can hold.
booleanhasMaximum()
booleanhasMinimum()
StringnewInstanceCode()
Returns the Java code necessary to create a new instance of the JType associated with this XSType
voidsetFacets(SimpleType simpleType)
Reads and sets the facets for XSXSGMonth override the readFacet method of XSType
voidsetMaxExclusive(GMonth max)
Sets the maximum exclusive value that this XSGMonth can hold.
voidsetMaxInclusive(GMonth max)
Sets the maximum inclusive value that this XSGMonth can hold.
voidsetMinExclusive(GMonth min)
Sets the minimum exclusive value that this XSGMonth can hold.
voidsetMinInclusive(GMonth min)
Sets the minimum inclusive value that this XSGMonth can hold.
voidvalidationCode(JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName)
Creates the validation code for an instance of this XSType.

Constructor Detail

XSGMonth

public XSGMonth()

Method Detail

getJType

public JType getJType()

getMaxExclusive

public GMonth getMaxExclusive()
Returns the maximum exclusive value that this XSGMonth can hold.

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

See Also: XSGMonth

getMaxInclusive

public GMonth getMaxInclusive()
Returns the maximum inclusive value that this XSGMonth can hold.

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

See Also: XSGMonth

getMinExclusive

public GMonth getMinExclusive()
Returns the minimum exclusive value that this XSGMonth can hold.

Returns: the minimum exclusive value that this XSGMonth can hold. If no minimum exclusive value has been set, Null will be returned

See Also: XSGMonth XSGMonth

getMinInclusive

public GMonth getMinInclusive()
Returns the minimum inclusive value that this XSGMonth can hold.

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

See Also: XSGMonth

hasMaximum

public boolean hasMaximum()

hasMinimum

public boolean hasMinimum()

newInstanceCode

public String newInstanceCode()
Returns the Java code necessary to create a new instance of the JType associated with this XSType

setFacets

public void setFacets(SimpleType simpleType)
Reads and sets the facets for XSXSGMonth override the readFacet method of XSType

Parameters: simpleType the Simpletype containing the facets

See Also: XSType

setMaxExclusive

public void setMaxExclusive(GMonth max)
Sets the maximum exclusive value that this XSGMonth can hold.

Parameters: max the maximum exclusive value this XSGMonth can be

See Also: XSGMonth

setMaxInclusive

public void setMaxInclusive(GMonth max)
Sets the maximum inclusive value that this XSGMonth can hold.

Parameters: max the maximum inclusive value this XSGMonth can be

See Also: XSGMonth

setMinExclusive

public void setMinExclusive(GMonth min)
Sets the minimum exclusive value that this XSGMonth can hold.

Parameters: min the minimum exclusive value this XSGMonth can be

See Also: XSGMonth

setMinInclusive

public void setMinInclusive(GMonth min)
Sets the minimum inclusive value that this XSGMonth can hold.

Parameters: min the minimum inclusive value this XSGMonth can be

See Also: XSGMonth

validationCode

public void validationCode(JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName)
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.

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com