org.opennms.report.availability
Class ViewInfo

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

public class ViewInfo
extends Object
implements Serializable

element name="viewInfo"

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

Constructor Summary
ViewInfo()
           
 
Method Summary
 String getViewComments()
          Returns the value of field 'viewComments'.
 String getViewName()
          Returns the value of field 'viewName'.
 String getViewTitle()
          Returns the value of field 'viewTitle'.
 boolean isValid()
          Method isValid.
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setViewComments(String viewComments)
          Sets the value of field 'viewComments'.
 void setViewName(String viewName)
          Sets the value of field 'viewName'.
 void setViewTitle(String viewTitle)
          Sets the value of field 'viewTitle'.
static ViewInfo unmarshal(Reader reader)
          Method unmarshal.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewInfo

public ViewInfo()
Method Detail

getViewComments

public String getViewComments()
Returns the value of field 'viewComments'.

Returns:
the value of field 'ViewComments'.

getViewName

public String getViewName()
Returns the value of field 'viewName'.

Returns:
the value of field 'ViewName'.

getViewTitle

public String getViewTitle()
Returns the value of field 'viewTitle'.

Returns:
the value of field 'ViewTitle'.

isValid

public boolean isValid()
Method isValid.

Returns:
true if this object is valid according to the schema

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
IOException - if an IOException occurs during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling

setViewComments

public void setViewComments(String viewComments)
Sets the value of field 'viewComments'.

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

setViewName

public void setViewName(String viewName)
Sets the value of field 'viewName'.

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

setViewTitle

public void setViewTitle(String viewTitle)
Sets the value of field 'viewTitle'.

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

unmarshal

public static ViewInfo unmarshal(Reader reader)
                          throws org.exolab.castor.xml.MarshalException,
                                 org.exolab.castor.xml.ValidationException
Method unmarshal.

Parameters:
reader -
Returns:
the unmarshaled org.opennms.report.availability.ViewInfo
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema


Copyright ? 2008. All Rights Reserved.