org.exolab.jmscts.core
Class Property

java.lang.Object
  |
  +--org.exolab.jmscts.core.Property
All Implemented Interfaces:
java.io.Serializable

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

This elment defines a property that can be set on an object, or obtained from an object using set/get methods corresponding to the name attribute.

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

Constructor Summary
Property()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 java.lang.String getName()
          Returns the value of field 'name'.
 PropertyTypeType getType()
          Returns the value of field 'type'.
 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 setType(PropertyTypeType type)
          Sets the value of field 'type'.
 void setValue(java.lang.String value)
          Sets the value of field 'value'.
static Property unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property

public Property()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Note: hashCode() has not been overriden
Overrides:
equals in class java.lang.Object
Parameters:
obj -  

getName

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

getType

public PropertyTypeType getType()
Returns the value of field 'type'.
Returns:
the value of field 'type'.

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 -  

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 -  

setName

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

setType

public void setType(PropertyTypeType type)
Sets the value of field 'type'.
Parameters:
type - the value of field 'type'.

setValue

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

unmarshal

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

validate

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


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.