| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RelationInstance
Defines a WSMO relation instance
Relation| Method Summary | |
|---|---|
|  Value | getParameterValue(byte pos)Returns the value of the specified paramter. | 
|  Relation | getRelation()Returns the relation this relation instance is an instance of. | 
|  List<Value> | listParameterValues()Returns a list of ParameterValues. | 
|  void | setParameterValue(byte pos,
                  Value value)Sets the value of the specieifed Parameter to be the specified ParameterValue object. | 
|  void | setRelation(Relation memberOf)Sets the relation this relation instance is an instance of. | 
| Methods inherited from interface org.omwg.ontology.OntologyElement | 
|---|
| getOntology, setOntology | 
| Methods inherited from interface org.wsmo.common.Entity | 
|---|
| addNFPValue, addNFPValue, getIdentifier, listNFPValues, listNFPValues, removeNFP, removeNFPValue, removeNFPValue | 
| Method Detail | 
|---|
void setRelation(Relation memberOf)
                 throws SynchronisationException,
                        InvalidModelException
memberOf - The Relation this relation instance is an instance of.
SynchronisationException
InvalidModelExceptiongetRelation()
Relation getRelation()
                     throws SynchronisationException
SynchronisationExceptionsetRelation(org.omwg.ontology.Relation)List<Value> listParameterValues()
setParameterValue.
Value getParameterValue(byte pos)
                        throws SynchronisationException,
                               InvalidModelException
pos - The index of the parameter of interest.
SynchronisationException
InvalidModelExceptionsetParameterValue(byte, Value)
void setParameterValue(byte pos,
                       Value value)
                       throws SynchronisationException,
                              InvalidModelException
pos - The index of the Parameter of interest.value - The ParameterValue object to set the specified Parameter's value to.
SynchronisationException
InvalidModelExceptiongetParameterValue(byte pos)| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||