public class Property extends java.lang.Object implements IProperty, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name
Attribute for slot name.
|
protected java.lang.Object |
value
Attribute for slot value.
|
Constructor and Description |
---|
Property()
Default Constructor.
|
Property(java.lang.String name,
java.lang.Object value)
Init Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Get the name of this Property.
|
java.lang.Object |
getValue()
Get the value of this Property.
|
int |
hashCode() |
void |
setName(java.lang.String name)
Set the name of this Property.
|
void |
setValue(java.lang.Object value)
Set the value of this Property.
|
java.lang.String |
toString()
Get a string representation of this Property.
|
protected java.lang.Object value
protected java.lang.String name
public Property()
public Property(java.lang.String name, java.lang.Object value)
name
- value
- public java.lang.Object getValue()
public void setValue(java.lang.Object value)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object