|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 value| Method Detail |
|---|
public String getName()
public String getClassName()
public boolean equals(Object aObj)
equals in class Objectpublic int hashCode()
x and
y must be equal if x.equals(y) returns true;
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||