public class NameClassPair
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
NameClassPair(java.lang.String aName,
java.lang.String aClassName)
Creates a new
NameClassPair with the specified name and class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object aObj)
Determines if two NameClassPairs are equal.
|
java.lang.String |
getClassName()
Gets the class name of the attribute's value.
|
java.lang.String |
getName()
Gets the name of the attribute.
|
int |
hashCode()
Gets the hash code for this object.
|
java.lang.String |
toString()
Gets string representation of this object; useful for debugging.
|
public NameClassPair(java.lang.String aName,
java.lang.String aClassName)
NameClassPair with the specified name and class.aName - the name of an attributeaClassName - the name of the class of that attribute's valuepublic java.lang.String getName()
public java.lang.String getClassName()
public boolean equals(java.lang.Object aObj)
equals in class java.lang.Objectpublic int hashCode()
x and
y must be equal if x.equals(y) returns true;hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2013. All Rights Reserved.