|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.phoenix.dependency.Relation
public final class Relation
relation value object.
| Constructor Summary | |
|---|---|
Relation(Relation aRelation)
Copy constructor for Relation. |
|
Relation(RelationType aType,
int aSourceLine,
String aSourceSymbol,
Clazz aClazz,
String aMethod,
String aField,
int aLine)
Constructs a Relation with all arguments. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
Returns true if this Relation
is equal to object. |
Clazz |
getClazz()
Returns the The class where this relation points to.. |
String |
getField()
Returns the The field where this relation points to. |
int |
getLine()
Returns the The field where this relation points to. |
String |
getMethod()
Returns the The method where this relation points to. |
int |
getSourceLine()
Returns the The source line creating the relationship.. |
String |
getSourceSymbol()
Returns the The symbol that creates the relation ship.. |
RelationType |
getType()
Returns the The type of this relation.. |
int |
hashCode()
Override hashCode. |
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 |
|---|
public Relation(RelationType aType,
int aSourceLine,
String aSourceSymbol,
Clazz aClazz,
String aMethod,
String aField,
int aLine)
aType - The The type of this relation..aSourceLine - The The source line creating the relationship..aSourceSymbol - The The symbol that creates the relation ship..aClazz - The The class where this relation points to..aMethod - The The method where this relation points to. (might be null).aField - The The field where this relation points to. (might be null).aLine - The The field where this relation points to. (might be null).public Relation(Relation aRelation)
aRelation - The Relation
to be copied.| Method Detail |
|---|
public RelationType getType()
public int getSourceLine()
public String getSourceSymbol()
public Clazz getClazz()
public String getMethod()
public String getField()
public int getLine()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object object)
true if this Relation
is equal to object.
equals in class Objectobject - the object to compare to.
true if this Relation
is equal to object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||