commgrids.nuggets.wiley.schema
Class CoverDate

java.lang.Object
  extended bycommgrids.nuggets.wiley.schema.CoverDate
All Implemented Interfaces:
java.io.Serializable

public class CoverDate
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
CoverDate()
           
 
Method Summary
 java.lang.String getContent()
          Returns the value of field 'content'.
 java.lang.String getDay()
          Returns the value of field 'day'.
 java.lang.String getEndday()
          Returns the value of field 'endday'.
 java.lang.String getEndmonth()
          Returns the value of field 'endmonth'.
 java.lang.String getEndyear()
          Returns the value of field 'endyear'.
 java.lang.String getMonth()
          Returns the value of field 'month'.
 java.lang.String getYear()
          Returns the value of field 'year'.
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setContent(java.lang.String content)
          Sets the value of field 'content'.
 void setDay(java.lang.String day)
          Sets the value of field 'day'.
 void setEndday(java.lang.String endday)
          Sets the value of field 'endday'.
 void setEndmonth(java.lang.String endmonth)
          Sets the value of field 'endmonth'.
 void setEndyear(java.lang.String endyear)
          Sets the value of field 'endyear'.
 void setMonth(java.lang.String month)
          Sets the value of field 'month'.
 void setYear(java.lang.String year)
          Sets the value of field 'year'.
static CoverDate unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoverDate

public CoverDate()
Method Detail

getContent

public java.lang.String getContent()
Returns the value of field 'content'. The field 'content' has the following description: internal content storage

Returns:
the value of field 'content'.

getDay

public java.lang.String getDay()
Returns the value of field 'day'.

Returns:
the value of field 'day'.

getEndday

public java.lang.String getEndday()
Returns the value of field 'endday'.

Returns:
the value of field 'endday'.

getEndmonth

public java.lang.String getEndmonth()
Returns the value of field 'endmonth'.

Returns:
the value of field 'endmonth'.

getEndyear

public java.lang.String getEndyear()
Returns the value of field 'endyear'.

Returns:
the value of field 'endyear'.

getMonth

public java.lang.String getMonth()
Returns the value of field 'month'.

Returns:
the value of field 'month'.

getYear

public java.lang.String getYear()
Returns the value of field 'year'.

Returns:
the value of field 'year'.

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setContent

public void setContent(java.lang.String content)
Sets the value of field 'content'. The field 'content' has the following description: internal content storage

Parameters:
content - the value of field 'content'.

setDay

public void setDay(java.lang.String day)
Sets the value of field 'day'.

Parameters:
day - the value of field 'day'.

setEndday

public void setEndday(java.lang.String endday)
Sets the value of field 'endday'.

Parameters:
endday - the value of field 'endday'.

setEndmonth

public void setEndmonth(java.lang.String endmonth)
Sets the value of field 'endmonth'.

Parameters:
endmonth - the value of field 'endmonth'.

setEndyear

public void setEndyear(java.lang.String endyear)
Sets the value of field 'endyear'.

Parameters:
endyear - the value of field 'endyear'.

setMonth

public void setMonth(java.lang.String month)
Sets the value of field 'month'.

Parameters:
month - the value of field 'month'.

setYear

public void setYear(java.lang.String year)
Sets the value of field 'year'.

Parameters:
year - the value of field 'year'.

unmarshal

public static CoverDate unmarshal(java.io.Reader reader)
                           throws org.exolab.castor.xml.MarshalException,
                                  org.exolab.castor.xml.ValidationException
Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException