org.kite9.diagram.builders
Class Tie
java.lang.Object
org.kite9.diagram.builders.Tie
- All Implemented Interfaces:
- AliasEnabled
public class Tie
- extends Object
- implements AliasEnabled
A Tie is used to hold a piece of relationship information. E.g. John eats fish. Where John is
the subject, eats is the relationship and fish is the object.
- Author:
- robmoffat
Tie
public Tie(NounPart subject,
Relationship r,
NounPart object)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getSubject
public NounPart getSubject()
getObject
public NounPart getObject()
getObjectForAlias
public Object getObjectForAlias()
- Specified by:
getObjectForAlias in interface AliasEnabled
getRelationship
public Relationship getRelationship()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011. All Rights Reserved.