org.exolab.castor.builder.types

Class XSGMonthDay

public class XSGMonthDay extends XSType

The XML Schema gYearMonth type

Version: $Revision $ $Date: 2005/03/05 13:41:44 $

Author: Arnaud Blandin

Constructor Summary
XSGMonthDay()
Method Summary
JTypegetJType()
GMonthDaygetMaxExclusive()
Returns the maximum exclusive value that this XSGMonthDay can hold.
GMonthDaygetMaxInclusive()
Returns the maximum inclusive value that this XSGMonthDay can hold.
GMonthDaygetMinExclusive()
Returns the minimum exclusive value that this XSGMonthDay can hold.
GMonthDaygetMinInclusive()
Returns the minimum inclusive value that this XSGMonthDay 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 XSXSGMonthDay override the readFacet method of XSType
voidsetMaxExclusive(GMonthDay max)
Sets the maximum exclusive value that this XSGMonthDay can hold.
voidsetMaxInclusive(GMonthDay max)
Sets the maximum inclusive value that this XSGMonthDay can hold.
voidsetMinExclusive(GMonthDay min)
Sets the minimum exclusive value that this XSGMonthDay can hold.
voidsetMinInclusive(GMonthDay min)
Sets the minimum inclusive value that this XSGMonthDay can hold.
voidvalidationCode(JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName)
Creates the validation code for an instance of this XSType.

Constructor Detail

XSGMonthDay

public XSGMonthDay()

Method Detail

getJType

public JType getJType()

getMaxExclusive

public GMonthDay getMaxExclusive()
Returns the maximum exclusive value that this XSGMonthDay can hold.

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

See Also: XSGMonthDay

getMaxInclusive

public GMonthDay getMaxInclusive()
Returns the maximum inclusive value that this XSGMonthDay can hold.

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

See Also: XSGMonthDay

getMinExclusive

public GMonthDay getMinExclusive()
Returns the minimum exclusive value that this XSGMonthDay can hold.

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

See Also: XSGMonthDay XSGMonthDay

getMinInclusive

public GMonthDay getMinInclusive()
Returns the minimum inclusive value that this XSGMonthDay can hold.

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

See Also: XSGMonthDay

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

Parameters: simpleType the Simpletype containing the facets

See Also: XSType

setMaxExclusive

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

Parameters: max the maximum exclusive value this XSGMonthDay can be

See Also: XSGMonthDay

setMaxInclusive

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

Parameters: max the maximum inclusive value this XSGMonthDay can be

See Also: XSGMonthDay

setMinExclusive

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

Parameters: min the minimum exclusive value this XSGMonthDay can be

See Also: XSGMonthDay

setMinInclusive

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

Parameters: min the minimum inclusive value this XSGMonthDay can be

See Also: XSGMonthDay

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-2004. All rights reserved http://www.intalio.com