public class PropertyAttribute extends BaseAttribute
Constructor and Description |
---|
PropertyAttribute(java.lang.String id,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getValue() |
int |
hashCode() |
java.lang.String |
toString() |
getId
public PropertyAttribute(java.lang.String id, java.lang.String value)
id
- of the Propertyvalue
- of the Property.java.lang.IllegalArgumentException
- when id is null or empty.public java.lang.String getValue()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to compare against.