Package org.exolab.javasource
Class JTypeName
- java.lang.Object
-
- org.exolab.javasource.JTypeName
-
public final class JTypeName extends java.lang.ObjectRepresents a class name.- Version:
- $Revision: 6669 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
- Author:
- Keith Visco
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetLocalName()Returns the local name of this JTypeName.java.lang.StringgetPackageName()Returns the package name of this JTypeName.java.lang.StringgetQualifiedName()Returns the qualified name of this JTypeName.inthashCode()voidsetLocalName(java.lang.String localName)Sets the local name for this JTypeName.voidsetPackageName(java.lang.String packageName)Sets the package name of this JTypeName.voidsetQualifiedName(java.lang.String qName)Sets the qualified name of this JTypeName.java.lang.StringtoString()
-
-
-
Method Detail
-
getLocalName
public java.lang.String getLocalName()
Returns the local name of this JTypeName.- Returns:
- The local name of this JTypeName.
-
getPackageName
public java.lang.String getPackageName()
Returns the package name of this JTypeName.- Returns:
- The package name of this JTypeName.
-
getQualifiedName
public java.lang.String getQualifiedName()
Returns the qualified name of this JTypeName.- Returns:
- The qualified name of this JTypeName.
-
setLocalName
public void setLocalName(java.lang.String localName)
Sets the local name for this JTypeName. Setting the local name will modify the existing local name and will reset the existing qualified name.- Parameters:
localName- The local name to set.
-
setPackageName
public void setPackageName(java.lang.String packageName)
Sets the package name of this JTypeName. Setting the package name will modify the existing package name and will reset the existing qualified name.- Parameters:
packageName- The package name to set.
-
setQualifiedName
public void setQualifiedName(java.lang.String qName)
Sets the qualified name of this JTypeName. Setting the qualified name will overwrite any previous values set via calls tosetLocalName(String)andsetPackageName(String).- Parameters:
qName- The qualified name.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-