be.re.repo
Class Property

java.lang.Object
  extended by be.re.repo.Property

public class Property
extends Object

Represents a name/value pair. A property equals another if its name and value are equal to the respective fields of the other property.

Author:
Werner Donné

Field Summary
 String name
           
 String value
           
 
Constructor Summary
Property(String name, String value)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public String name

value

public String value
Constructor Detail

Property

public Property(String name,
                String value)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

setValue

public void setValue(String value)