|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.uima.util.NameClassPair
public class NameClassPair
A class that stores the name of an attribute and the Class of that attribute's value.
Constructor Summary | |
---|---|
NameClassPair(String aName,
String aClassName)
Creates a new NameClassPair with the specified name and class. |
Method Summary | |
---|---|
boolean |
equals(Object aObj)
Determines if two NameClassPairs are equal. |
String |
getClassName()
Gets the class name of the attribute's value. |
String |
getName()
Gets the name of the attribute. |
int |
hashCode()
Gets the hash code for this object. |
String |
toString()
Gets string representation of this object; useful for debugging. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NameClassPair(String aName, String aClassName)
NameClassPair
with the specified name and class.
aName
- the name of an attributeaClassName
- the name of the class of that attribute's valueMethod Detail |
---|
public String getName()
public String getClassName()
public boolean equals(Object aObj)
equals
in class Object
public int hashCode()
x
and
y must be equal if x.equals(y)
returns true;
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |