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).


    Method Summary
     OMEObject getFrom()
              Returns the source of this OME link.
     OMEObject getTo()
              Returns the destination of this OME link.
     void setFrom(OMEObject o)
              Set the source for this OME link.
     void setTo(OMEObject o)
              Set the destination for this OME link.
     
    Methods inherited from interface OME.OMEObject
    addLink, getComment, getID, getLinks, getModel, getName, getType, setComment, setID, setName, setType
     

    Method Detail

    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.