Package org.exolab.javasource
Class JTypeName
java.lang.Object
org.exolab.javasource.JTypeName
Represents a class name.
- Version:
- $Revision$ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
- Author:
- Keith Visco
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the local name of this JTypeName.Returns the package name of this JTypeName.Returns the qualified name of this JTypeName.int
hashCode()
void
setLocalName
(String localName) Sets the local name for this JTypeName.void
setPackageName
(String packageName) Sets the package name of this JTypeName.void
setQualifiedName
(String qName) Sets the qualified name of this JTypeName.toString()
-
Constructor Details
-
JTypeName
public JTypeName()Creates a default JTypeName. -
JTypeName
Creates a new JTypeName with the given name.- Parameters:
name
- The fully qualified class name.
-
-
Method Details
-
getLocalName
Returns the local name of this JTypeName.- Returns:
- The local name of this JTypeName.
-
getPackageName
Returns the package name of this JTypeName.- Returns:
- The package name of this JTypeName.
-
getQualifiedName
Returns the qualified name of this JTypeName.- Returns:
- The qualified name of this JTypeName.
-
setLocalName
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
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
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
-
hashCode
-
toString
-