Package org.exolab.javasource
Class JTypeName
- java.lang.Object
-
- org.exolab.javasource.JTypeName
-
public final class JTypeName extends java.lang.Object
Represents 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 boolean
equals(java.lang.Object obj)
java.lang.String
getLocalName()
Returns the local name of this JTypeName.java.lang.String
getPackageName()
Returns the package name of this JTypeName.java.lang.String
getQualifiedName()
Returns the qualified name of this JTypeName.int
hashCode()
void
setLocalName(java.lang.String localName)
Sets the local name for this JTypeName.void
setPackageName(java.lang.String packageName)
Sets the package name of this JTypeName.void
setQualifiedName(java.lang.String qName)
Sets the qualified name of this JTypeName.java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-