org.exolab.javasource

Class JTypeName


public final class JTypeName
extends java.lang.Object

Represents a class name.
Version:
$Revision: $ $Date: $
Author:
Keith Visco

Constructor Summary

JTypeName()
Creates a default JTypeName.
JTypeName(String name)
Creates a new JTypeName with the given name.

Method Summary

boolean
equals(Object obj)
String
getLocalName()
Returns the local name of this JTypeName.
String
getPackageName()
Returns the package name of this JTypeName.
String
getQualifiedName()
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.
String
toString()

Constructor Details

JTypeName

public JTypeName()
Creates a default JTypeName.

JTypeName

public JTypeName(String name)
Creates a new JTypeName with the given name.
Parameters:
name - the fully qualified class name

Method Details

equals

public boolean equals(Object obj)
See Also:
{@inheritDoc}

getLocalName

public String getLocalName()
Returns the local name of this JTypeName.
Returns:
the local name of this JTypeName

getPackageName

public String getPackageName()
Returns the package name of this JTypeName.
Returns:
the package name of this JTypeName

getQualifiedName

public String getQualifiedName()
Returns the qualified name of this JTypeName.
Returns:
the qualified name of this JTypeName.

hashCode

public int hashCode()
See Also:
{@inheritDoc}

setLocalName

public void setLocalName(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(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(String qName)
Parameters:
qName - the qualified name

toString

public String toString()
See Also:
{@inheritDoc}

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com