gov.nasa.arc.brahms.vm.api.common
Interface IRelation


public interface IRelation

The IRelation interface is an interface to a relation specified for a concept loaded in the virtual machine.

Version:
5 April 2001
Author:
Ron van Hoof

Method Summary
 java.lang.String getDisplayText()
          Returns a display friendly name for the relation.
 java.lang.String getName()
          Returns the relation name.
 IConcept getOwner()
          Returns the owner of the relation, the concept for which the relation is specified.
 IType getType()
          Returns the type of the relation.
 

Method Detail

getName

java.lang.String getName()
                         throws ExternalException
Returns the relation name.

Returns:
String the name of the relation
Throws:
ExternalException - if an internal error occurs

getDisplayText

java.lang.String getDisplayText()
                                throws ExternalException
Returns a display friendly name for the relation.

Returns:
String the display text of the relation
Throws:
ExternalException - if an internal error occurs

getType

IType getType()
              throws ExternalException
Returns the type of the relation.

Returns:
IType the relation's type.
Throws:
ExternalException - if an internal error occurs
See Also:
IType

getOwner

IConcept getOwner()
                  throws ExternalException
Returns the owner of the relation, the concept for which the relation is specified.

Returns:
IConcept the relation's owner
Throws:
ExternalException - if an internal error occurs
See Also:
IConcept


Copyright © 1997-2012 All Rights Reserved.