de.fraunhofer.ipsi.xpathDatatypes
Class XS_GYear

java.lang.Object
  extended by de.fraunhofer.ipsi.xpathDatatypes.XS_AnySimpleType
      extended by de.fraunhofer.ipsi.xpathDatatypes.XDT_AnyAtomicType
          extended by de.fraunhofer.ipsi.xpathDatatypes.XS_GYear

public class XS_GYear
extends XDT_AnyAtomicType


Constructor Summary
XS_GYear(boolean positive, java.math.BigInteger years)
          Constructor
XS_GYear(java.lang.String s)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object o)
          Method gYearEqual
 XS_Integer getYear()
          Method getYear
 XS_Boolean isPositive()
          Returns Positive
 java.lang.String toString()
          Method toString
 
Methods inherited from class de.fraunhofer.ipsi.xpathDatatypes.XDT_AnyAtomicType
castas
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XS_GYear

public XS_GYear(boolean positive,
                java.math.BigInteger years)
Constructor

Parameters:
positive - a boolean
years - a BigInteger

XS_GYear

public XS_GYear(java.lang.String s)
Constructor

Parameters:
gyear - a XS_String
Method Detail

getYear

public XS_Integer getYear()
Method getYear

Returns:
a XS_Integer

isPositive

public XS_Boolean isPositive()
Returns Positive

Returns:
a boolean

toString

public java.lang.String toString()
Method toString

Overrides:
toString in class java.lang.Object
Returns:
a String

equals

public boolean equals(java.lang.Object o)
Method gYearEqual

Overrides:
equals in class java.lang.Object
Parameters:
type - XS_GYear
Returns:
XS_Boolean