org.csapi.jr.se.fw
Class Property

java.lang.Object
  |
  +--org.csapi.jr.se.fw.Property
All Implemented Interfaces:
java.io.Serializable

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

This data type is a Sequence of Data Elements which describes a generic 'property'. It is a structured data type consisting of a {name, value} pair.

See Also:
Serialized Form

Constructor Summary
Property()
          Creates a new Property instance.
Property(java.lang.String _propertyName, java.lang.String _propertyValue)
          Creates a new Property instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 java.lang.String getPropertyName()
          This method returns a propertyName.
 java.lang.String getPropertyValue()
          This method returns a propertyValue.
 int hashCode()
          Returns a hashcode value for the object.
 void setPropertyName(java.lang.String propertyName)
          This method sets a propertyName.
 void setPropertyValue(java.lang.String propertyValue)
          This method sets a propertyValue.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property

public Property()
Creates a new Property instance.


Property

public Property(java.lang.String _propertyName,
                java.lang.String _propertyValue)
Creates a new Property instance.

Parameters:
_propertyName -
_propertyValue -
Method Detail

getPropertyName

public java.lang.String getPropertyName()
This method returns a propertyName.

Returns:
a String value

getPropertyValue

public java.lang.String getPropertyValue()
This method returns a propertyValue.

Returns:
a String value

setPropertyName

public void setPropertyName(java.lang.String propertyName)
This method sets a propertyName.


setPropertyValue

public void setPropertyValue(java.lang.String propertyValue)
This method sets a propertyValue.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object