org.apache.hivemind.impl
Class AttributeImpl
java.lang.Object
|
+--org.apache.hivemind.impl.AttributeImpl
- All Implemented Interfaces:
- Attribute
- public class AttributeImpl
- extends java.lang.Object
- implements Attribute
Implementation of Attribute
.
- Author:
- Howard Lewis Ship
Constructor Summary |
AttributeImpl(java.lang.String name,
java.lang.String value)
|
Method Summary |
java.lang.String |
getName()
Returns the name of the attribute. |
java.lang.String |
getValue()
Returns the value of the attribute. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AttributeImpl
public AttributeImpl(java.lang.String name,
java.lang.String value)
getName
public java.lang.String getName()
- Description copied from interface:
Attribute
- Returns the name of the attribute.
- Specified by:
getName
in interface Attribute
getValue
public java.lang.String getValue()
- Description copied from interface:
Attribute
- Returns the value of the attribute.
- Specified by:
getValue
in interface Attribute
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object