org.exolab.castor.builder.types

Class XSGYearMonth

public class XSGYearMonth extends XSType

The XML Schema gYearMonth type

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

Author: Arnaud Blandin

Constructor Summary
XSGYearMonth()
Method Summary
JTypegetJType()
GYearMonthgetMaxExclusive()
Returns the maximum exclusive value that this XSGYearMonth can hold.
GYearMonthgetMaxInclusive()
Returns the maximum inclusive value that this XSGYearMonth can hold.
GYearMonthgetMinExclusive()
Returns the minimum exclusive value that this XSGYearMonth can hold.
GYearMonthgetMinInclusive()
Returns the minimum inclusive value that this XSGYearMonth 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 XSGYearMonth override the readFacet method of XSType
voidsetMaxExclusive(GYearMonth max)
Sets the maximum exclusive value that this XSGYearMonth can hold.
voidsetMaxInclusive(GYearMonth max)
Sets the maximum inclusive value that this XSGYearMonth can hold.
voidsetMinExclusive(GYearMonth min)
Sets the minimum exclusive value that this XSGYearMonth can hold.
voidsetMinInclusive(GYearMonth min)
Sets the minimum inclusive value that this XSGYearMonth can hold.
voidvalidationCode(JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName)
Creates the validation code for an instance of this XSType.

Constructor Detail

XSGYearMonth

public XSGYearMonth()

Method Detail

getJType

public JType getJType()

getMaxExclusive

public GYearMonth 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: XSGYearMonth

getMaxInclusive

public GYearMonth 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: XSGYearMonth

getMinExclusive

public GYearMonth 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: XSGYearMonth XSGYearMonth

getMinInclusive

public GYearMonth 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: XSGYearMonth

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 XSGYearMonth override the readFacet method of XSType

Parameters: simpleType the Simpletype containing the facets

See Also: XSType

setMaxExclusive

public void 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: XSGYearMonth

setMaxInclusive

public void 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: XSGYearMonth

setMinExclusive

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

Parameters: min the minimum exclusive value this XSGYearMonth can be

See Also: XSGYearMonth

setMinInclusive

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

Parameters: min the minimum inclusive value this XSGYearMonth can be

See Also: XSGYearMonth

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