org.exolab.castor.builder.types

Class XSGDay

public class XSGDay extends XSType

The XML Schema gDay type

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

Author: Arnaud Blandin

Constructor Summary
XSGDay()
Method Summary
JTypegetJType()
GDaygetMaxExclusive()
Returns the maximum exclusive value that this XSGDay can hold.
GDaygetMaxInclusive()
Returns the maximum inclusive value that this XSGDay can hold.
GDaygetMinExclusive()
Returns the minimum exclusive value that this XSGDay can hold.
GDaygetMinInclusive()
Returns the minimum inclusive value that this XSGDay 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 XSXSGDay override the readFacet method of XSType
voidsetMaxExclusive(GDay max)
Sets the maximum exclusive value that this XSGDay can hold.
voidsetMaxInclusive(GDay max)
Sets the maximum inclusive value that this XSGDay can hold.
voidsetMinExclusive(GDay min)
Sets the minimum exclusive value that this XSGDay can hold.
voidsetMinInclusive(GDay min)
Sets the minimum inclusive value that this XSGDay can hold.
voidvalidationCode(JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName)
Creates the validation code for an instance of this XSType.

Constructor Detail

XSGDay

public XSGDay()

Method Detail

getJType

public JType getJType()

getMaxExclusive

public GDay getMaxExclusive()
Returns the maximum exclusive value that this XSGDay can hold.

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

See Also: XSGDay

getMaxInclusive

public GDay getMaxInclusive()
Returns the maximum inclusive value that this XSGDay can hold.

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

See Also: XSGDay

getMinExclusive

public GDay getMinExclusive()
Returns the minimum exclusive value that this XSGDay can hold.

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

See Also: XSGDay XSGDay

getMinInclusive

public GDay getMinInclusive()
Returns the minimum inclusive value that this XSGDay can hold.

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

See Also: XSGDay

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

Parameters: simpleType the Simpletype containing the facets

See Also: XSType

setMaxExclusive

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

Parameters: max the maximum exclusive value this XSGDay can be

See Also: XSGDay

setMaxInclusive

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

Parameters: max the maximum inclusive value this XSGDay can be

See Also: XSGDay

setMinExclusive

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

Parameters: min the minimum exclusive value this XSGDay can be

See Also: XSGDay

setMinInclusive

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

Parameters: min the minimum inclusive value this XSGDay can be

See Also: XSGDay

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