OME
Interface OMELink
- All Known Subinterfaces:
- ModelLink, ViewLink
- public interface OMELink
- extends OMEObject
This interface extend the OMEObject interface to include the
characteristics specific to links. These characteristics specifically include
the following
links must have to (destination) and a from (source).
| Methods inherited from interface OME.OMEObject |
addLink,
getComment,
getID,
getLinks,
getModel,
getName,
getType,
setComment,
setID,
setName,
setType |
getTo
public OMEObject getTo()
- Returns the destination of this OME link.
setTo
public void setTo(OMEObject o)
throws java.lang.Exception
- Set the destination for this OME link.
- Parameters:
o - the destination we are setting for this OMELink.
getFrom
public OMEObject getFrom()
- Returns the source of this OME link.
setFrom
public void setFrom(OMEObject o)
throws java.lang.Exception
- Set the source for this OME link.
- Parameters:
o - the source we are setting for this OMELink.