com.iver.andami.persistence.generate
Class Property

java.lang.Object
  extended bycom.iver.andami.persistence.generate.Property
All Implemented Interfaces:
java.io.Serializable

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

Class Property.

Version:
$Revision: 1935 $ $Date: 2005-05-13 13:00:46 +0200 (Fri, 13 May 2005) $
See Also:
Serialized Form

Constructor Summary
Property()
           
 
Method Summary
 java.lang.String getName()
          Returns the value of field 'name'.
 java.lang.String getValue()
          Returns the value of field 'value'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setValue(java.lang.String value)
          Sets the value of field 'value'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property

public Property()
Method Detail

getName

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

Returns:
the value of field 'name'.

getValue

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

Returns:
the value of field 'value'.

isValid

public boolean isValid()
Method isValid


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

setName

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

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

setValue

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

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

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