|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.borg.model.entity.KeyedEntity<Link>
net.sf.borg.model.entity.Link
public class Link
Link entity. A Link represents an association between an Entity (Appointment, Project, Task, Address) and another Entity, a URL, or a File
| Constructor Summary | |
|---|---|
Link()
|
|
| Method Summary | |
|---|---|
protected Link |
clone()
|
String |
getLinkType()
Gets the link type - see LinkModel.LinkType. |
Integer |
getOwnerKey()
Gets the key of the owning KeyedEntity. |
String |
getOwnerType()
Gets the type of the KeyedEntity - mapped in LinkModel.java |
String |
getPath()
Gets the identifier of the link target - i.e. |
void |
setLinkType(String linkType)
Sets the link type - see LinkModel.LinkType. |
void |
setOwnerKey(Integer ownerKey)
Sets the key of the owning KeyedEntity. |
void |
setOwnerType(String ownerType)
Sets the type of the KeyedEntity - mapped in LinkModel.java. |
void |
setPath(String path)
Sets the identifier of the link target - i.e. |
| Methods inherited from class net.sf.borg.model.entity.KeyedEntity |
|---|
copy, getKey, setKey |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Link()
| Method Detail |
|---|
protected Link clone()
clone in class KeyedEntity<Link>public Integer getOwnerKey()
public void setOwnerKey(Integer ownerKey)
ownerKey - the new owner keypublic String getOwnerType()
public void setOwnerType(String ownerType)
ownerType - the new owner typepublic String getPath()
public void setPath(String path)
path - the new pathpublic String getLinkType()
public void setLinkType(String linkType)
linkType - the new link type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||