org.opennms.netmgt.config.views
Class View

java.lang.Object
  extended by org.opennms.netmgt.config.views.View
All Implemented Interfaces:
Serializable

public class View
extends Object
implements Serializable

Class View.

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

Constructor Summary
View()
           
 
Method Summary
 Categories getCategories()
          Returns the value of field 'categories'.
 String getComment()
          Returns the value of field 'comment'.
 Common getCommon()
          Returns the value of field 'common'.
 Membership getMembership()
          Returns the value of field 'membership'.
 String getName()
          Returns the value of field 'name'.
 String getTitle()
          Returns the value of field 'title'.
 boolean isValid()
          Method isValid.
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setCategories(Categories categories)
          Sets the value of field 'categories'.
 void setComment(String comment)
          Sets the value of field 'comment'.
 void setCommon(Common common)
          Sets the value of field 'common'.
 void setMembership(Membership membership)
          Sets the value of field 'membership'.
 void setName(String name)
          Sets the value of field 'name'.
 void setTitle(String title)
          Sets the value of field 'title'.
static View 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

View

public View()
Method Detail

getCategories

public Categories getCategories()
Returns the value of field 'categories'.

Returns:
the value of field 'Categories'.

getComment

public String getComment()
Returns the value of field 'comment'.

Returns:
the value of field 'Comment'.

getCommon

public Common getCommon()
Returns the value of field 'common'.

Returns:
the value of field 'Common'.

getMembership

public Membership getMembership()
Returns the value of field 'membership'.

Returns:
the value of field 'Membership'.

getName

public String getName()
Returns the value of field 'name'.

Returns:
the value of field 'Name'.

getTitle

public String getTitle()
Returns the value of field 'title'.

Returns:
the value of field 'Title'.

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

setCategories

public void setCategories(Categories categories)
Sets the value of field 'categories'.

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

setComment

public void setComment(String comment)
Sets the value of field 'comment'.

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

setCommon

public void setCommon(Common common)
Sets the value of field 'common'.

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

setMembership

public void setMembership(Membership membership)
Sets the value of field 'membership'.

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

setName

public void setName(String name)
Sets the value of field 'name'.

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

setTitle

public void setTitle(String title)
Sets the value of field 'title'.

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

unmarshal

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

Parameters:
reader -
Returns:
the unmarshaled org.opennms.netmgt.config.views.View
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.