org.jcoderz.phoenix.dependency
Class Clazz

java.lang.Object
  extended by org.jcoderz.phoenix.dependency.Clazz
All Implemented Interfaces:
Serializable

public class Clazz
extends Object
implements Serializable

clazz value object.

Author:
generated
See Also:
Serialized Form

Constructor Summary
Clazz(Clazz aClazz)
          Copy constructor for Clazz.
Clazz(String aQualifiedName)
          Constructs a Clazz with the minimum arguments.
Clazz(String aQualifiedName, String aSourceFileName, String aPackageName)
          Constructs a Clazz with all arguments.
 
Method Summary
 boolean equals(Object object)
          Returns true if this Clazz is equal to object.
 int getIndex()
          Returns the index.
 int getLowlink()
          Returns the lowlink.
 String getPackageName()
          Returns the Name of the package where this class belongs to..
 String getQualifiedName()
          Returns the The qualified name of this class..
 Map<String,Set<Relation>> getRelations()
          Returns the The map of relations of this class key is the relation target..
 String getSourceFileName()
          Returns the Source file where this class is defined in..
 int hashCode()
          Override hashCode.
 void setIndex(int aIndex)
          Sets the index.
 void setLowlink(int aLowlink)
          Sets the lowlink.
 void setPackageName(String aPackageName)
          Sets the Name of the package where this class belongs to..
 void setSourceFileName(String aSourceFileName)
          Sets the Source file where this class is defined in..
 String toString()
          Creates a String representation of this object holding the state of all members.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Clazz

public Clazz(String aQualifiedName)
Constructs a Clazz with the minimum arguments.

Parameters:
aQualifiedName - The The qualified name of this class..

Clazz

public Clazz(String aQualifiedName,
             String aSourceFileName,
             String aPackageName)
Constructs a Clazz with all arguments.

Parameters:
aQualifiedName - The The qualified name of this class..
aSourceFileName - The Source file where this class is defined in..
aPackageName - The Name of the package where this class belongs to..

Clazz

public Clazz(Clazz aClazz)
Copy constructor for Clazz. No deep copy is performed.

Parameters:
aClazz - The Clazz to be copied.
Method Detail

getQualifiedName

public String getQualifiedName()
Returns the The qualified name of this class..

Returns:
the The qualified name of this class..

getSourceFileName

public String getSourceFileName()
Returns the Source file where this class is defined in..

Returns:
the Source file where this class is defined in..

setSourceFileName

public void setSourceFileName(String aSourceFileName)
Sets the Source file where this class is defined in..

Parameters:
aSourceFileName - the Source file where this class is defined in. to be set.

getPackageName

public String getPackageName()
Returns the Name of the package where this class belongs to..

Returns:
the Name of the package where this class belongs to..

setPackageName

public void setPackageName(String aPackageName)
Sets the Name of the package where this class belongs to..

Parameters:
aPackageName - the Name of the package where this class belongs to. to be set.

getRelations

public Map<String,Set<Relation>> getRelations()
Returns the The map of relations of this class key is the relation target..

Returns:
the The map of relations of this class key is the relation target..

getLowlink

public int getLowlink()
Returns the lowlink.

Returns:
the lowlink.

setLowlink

public void setLowlink(int aLowlink)
Sets the lowlink.

Parameters:
aLowlink - the lowlink to be set.

getIndex

public int getIndex()
Returns the index.

Returns:
the index.

setIndex

public void setIndex(int aIndex)
Sets the index.

Parameters:
aIndex - the index to be set.

toString

public String toString()
Creates a String representation of this object holding the state of all members.

Overrides:
toString in class Object
Returns:
a String representation of this object.

hashCode

public int hashCode()
Override hashCode.

Overrides:
hashCode in class Object
Returns:
the Objects hashcode.

equals

public boolean equals(Object object)
Returns true if this Clazz is equal to object.

Overrides:
equals in class Object
Parameters:
object - the object to compare to.
Returns:
true if this Clazz is equal to object.


Copyright 2007 The jCoderZ Project.