org.mantisbt.connect.model
Class Relationship

java.lang.Object
  extended byorg.mantisbt.connect.model.Relationship
All Implemented Interfaces:
IRelationship

public class Relationship
extends java.lang.Object
implements IRelationship

Author:
Peter Lanser, planser@users.sourceforge.net

Constructor Summary
Relationship()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 long getId()
           
 long getTargetId()
           
 IMCAttribute getType()
           
 int hashCode()
           
 void setTargetId(long targetId)
           
 void setType(IMCAttribute type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Relationship

public Relationship()
Method Detail

getId

public long getId()
Specified by:
getId in interface IRelationship

getTargetId

public long getTargetId()
Specified by:
getTargetId in interface IRelationship

getType

public IMCAttribute getType()
Specified by:
getType in interface IRelationship

setTargetId

public void setTargetId(long targetId)
Specified by:
setTargetId in interface IRelationship

setType

public void setType(IMCAttribute type)
Specified by:
setType in interface IRelationship

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object obj)