org.opennms.report.availability
Class Created

java.lang.Object
  extended by org.opennms.report.availability.Created
All Implemented Interfaces:
java.io.Serializable

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

Class Created.

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

Constructor Summary
Created()
           
 
Method Summary
 void deleteContent()
          Method deleteContent
 void deleteDay()
          Method deleteDay
 void deleteHour()
          Method deleteHour
 void deleteMin()
          Method deleteMin
 void deleteSec()
          Method deleteSec
 void deleteYear()
          Method deleteYear
 long getContent()
          Returns the value of field 'content'.
 int getDay()
          Returns the value of field 'day'.
 int getHour()
          Returns the value of field 'hour'.
 int getMin()
          Returns the value of field 'min'.
 java.lang.String getMonth()
          Returns the value of field 'month'.
 java.lang.String getPeriod()
          Returns the value of field 'period'.
 int getSec()
          Returns the value of field 'sec'.
 int getYear()
          Returns the value of field 'year'.
 boolean hasContent()
          Method hasContent
 boolean hasDay()
          Method hasDay
 boolean hasHour()
          Method hasHour
 boolean hasMin()
          Method hasMin
 boolean hasSec()
          Method hasSec
 boolean hasYear()
          Method hasYear
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setContent(long content)
          Sets the value of field 'content'.
 void setDay(int day)
          Sets the value of field 'day'.
 void setHour(int hour)
          Sets the value of field 'hour'.
 void setMin(int min)
          Sets the value of field 'min'.
 void setMonth(java.lang.String month)
          Sets the value of field 'month'.
 void setPeriod(java.lang.String period)
          Sets the value of field 'period'.
 void setSec(int sec)
          Sets the value of field 'sec'.
 void setYear(int year)
          Sets the value of field 'year'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Created

public Created()
Method Detail

deleteContent

public void deleteContent()
Method deleteContent


deleteDay

public void deleteDay()
Method deleteDay


deleteHour

public void deleteHour()
Method deleteHour


deleteMin

public void deleteMin()
Method deleteMin


deleteSec

public void deleteSec()
Method deleteSec


deleteYear

public void deleteYear()
Method deleteYear


getContent

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

Returns:
long

getDay

public int getDay()
Returns the value of field 'day'.

Returns:
int

getHour

public int getHour()
Returns the value of field 'hour'.

Returns:
int

getMin

public int getMin()
Returns the value of field 'min'.

Returns:
int

getMonth

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

Returns:
String

getPeriod

public java.lang.String getPeriod()
Returns the value of field 'period'.

Returns:
String

getSec

public int getSec()
Returns the value of field 'sec'.

Returns:
int

getYear

public int getYear()
Returns the value of field 'year'.

Returns:
int

hasContent

public boolean hasContent()
Method hasContent

Returns:
boolean

hasDay

public boolean hasDay()
Method hasDay

Returns:
boolean

hasHour

public boolean hasHour()
Method hasHour

Returns:
boolean

hasMin

public boolean hasMin()
Method hasMin

Returns:
boolean

hasSec

public boolean hasSec()
Method hasSec

Returns:
boolean

hasYear

public boolean hasYear()
Method hasYear

Returns:
boolean

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

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
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setContent

public void setContent(long 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(int day)
Sets the value of field 'day'.

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

setHour

public void setHour(int hour)
Sets the value of field 'hour'.

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

setMin

public void setMin(int min)
Sets the value of field 'min'.

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

setMonth

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

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

setPeriod

public void setPeriod(java.lang.String period)
Sets the value of field 'period'.

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

setSec

public void setSec(int sec)
Sets the value of field 'sec'.

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

setYear

public void setYear(int year)
Sets the value of field 'year'.

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

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.