|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--EVolve.data.ReferenceLink
Constructor Summary | |
ReferenceLink(ReferenceLink from,
ReferenceLink to)
Creates a reference link by combining two reference links. |
|
ReferenceLink(java.lang.String name,
int sourceType,
int sourceIndex,
int targetType,
java.lang.String description,
java.lang.String[] properties)
Creates a reference link. |
Method Summary | |
java.lang.Object |
clone()
|
java.lang.String |
getDescription()
Gets the description of the link. |
java.lang.String |
getName()
Gets the name of the link. |
int |
getSourceIndex()
Gets the field index of the source element. |
int |
getSourceType()
Gets the type of the source element. |
long |
getTarget(long source)
Gets the target. |
int |
getTargetType()
Gets the type of the target entity. |
boolean |
hasProperty(java.lang.String property)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReferenceLink(java.lang.String name, int sourceType, int sourceIndex, int targetType, java.lang.String description, java.lang.String[] properties)
name
- name of the linksourceType
- type of the source elementsourceIndex
- field index of the source elementtargetType
- type of the target entitydescription
- description of the linkproperties
- properties of the linkpublic ReferenceLink(ReferenceLink from, ReferenceLink to)
from
- where the link startsto
- where the link endsMethod Detail |
public java.lang.String getName()
public int getSourceType()
public int getSourceIndex()
public int getTargetType()
public long getTarget(long source)
source
- reference
public java.lang.String getDescription()
public boolean hasProperty(java.lang.String property)
public java.lang.Object clone()
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |