org.palo.api
Class Property

java.lang.Object
  extended by org.palo.api.Property

Deprecated. Use Property2 instead.

public class Property
extends java.lang.Object

A Property object can be attached to several classes to provide application specific additional information. The developer can specify arbitrary key/value pairs via this class.

Version:
$Id: Property.html,v 1.15 2009/07/09 11:01:46 ArndHouben Exp $

Constructor Summary
Property(java.lang.String id, java.lang.String value)
          Deprecated. Creates a new key/value pair with the given data.
 
Method Summary
 java.lang.String getId()
          Deprecated. Returns the id of this property object.
 java.lang.String getValue()
          Deprecated. Returns the value of this property object.
 void setValue(java.lang.String newValue)
          Deprecated. Sets a new value for this property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property

public Property(java.lang.String id,
                java.lang.String value)
Deprecated. 
Creates a new key/value pair with the given data.

Parameters:
id - the id of the new property.
value - the value of the new property.
Method Detail

getId

public java.lang.String getId()
Deprecated. 
Returns the id of this property object.

Returns:
the id of this property object.

getValue

public java.lang.String getValue()
Deprecated. 
Returns the value of this property object.

Returns:
the value of this property object.

setValue

public void setValue(java.lang.String newValue)
Deprecated. 
Sets a new value for this property.

Parameters:
newValue - the new value for this property.