net.sf.borg.model.entity
Class Link

java.lang.Object
  extended by net.sf.borg.model.entity.KeyedEntity<Link>
      extended by net.sf.borg.model.entity.Link
All Implemented Interfaces:
Serializable

public class Link
extends KeyedEntity<Link>

Link entity. A Link represents an association between an Entity (Appointment, Project, Task, Address) and another Entity, a URL, or a File

See Also:
Serialized Form

Constructor Summary
Link()
           
 
Method Summary
 boolean canEqual(Object other)
           
protected  Link clone()
           
 boolean equals(Object o)
           
 String getLinkType()
           
 Integer getOwnerKey()
           
 String getOwnerType()
           
 String getPath()
           
 int hashCode()
           
 void setLinkType(String linkType)
           
 void setOwnerKey(Integer ownerKey)
           
 void setOwnerType(String ownerType)
           
 void setPath(String path)
           
 String toString()
           
 
Methods inherited from class net.sf.borg.model.entity.KeyedEntity
copy, getKey, setKey
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Link

public Link()
Method Detail

clone

protected Link clone()
Overrides:
clone in class KeyedEntity<Link>

getOwnerKey

public Integer getOwnerKey()

getOwnerType

public String getOwnerType()

getPath

public String getPath()

getLinkType

public String getLinkType()

setOwnerKey

public void setOwnerKey(Integer ownerKey)

setOwnerType

public void setOwnerType(String ownerType)

setPath

public void setPath(String path)

setLinkType

public void setLinkType(String linkType)

toString

public String toString()
Overrides:
toString in class KeyedEntity<Link>

equals

public boolean equals(Object o)
Overrides:
equals in class KeyedEntity<Link>

canEqual

public boolean canEqual(Object other)
Overrides:
canEqual in class KeyedEntity<Link>

hashCode

public int hashCode()
Overrides:
hashCode in class KeyedEntity<Link>


Generated December 30 2011 by mbb using Apache Ant(TM) version 1.8.2 compiled on December 20 2010 and Java version 1.6.0_30 from Sun Microsystems Inc. on Linux i386 3.0.0-14-generic-pae