|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Relation | |
---|---|
org.omwg.ontology | |
org.wsmo.factory |
Uses of Relation in org.omwg.ontology |
---|
Methods in org.omwg.ontology that return Relation | |
---|---|
Relation |
Ontology.findRelation(Identifier id)
Finds a relation in the set of relations defined by this ontology (returns NULL if none found). |
Relation |
RelationInstance.getRelation()
Returns the relation this relation instance is an instance of. |
Relation |
Parameter.getRelation()
Returns the Relation to which this parameter is assigned. |
Methods in org.omwg.ontology that return types with arguments of type Relation | |
---|---|
Set<Relation> |
Ontology.listRelations()
Lists the relations defined by this ontology. |
Set<Relation> |
Relation.listSubRelations()
Lists the sub-relations of this relation |
Set<Relation> |
Relation.listSuperRelations()
Lists the super-relations of this relation |
Methods in org.omwg.ontology with parameters of type Relation | |
---|---|
void |
Ontology.addRelation(Relation relation)
Adds a new relation to the list of relations defined by this ontology. |
void |
Relation.addSubRelation(Relation subRel)
Adds a new relation to the set of sub-relations of this relation The sub-relation will also add this relation to the list of its super-relations |
void |
Relation.addSuperRelation(Relation superRel)
Adds a new relation to the set of super-relation of this relation The super-relation will also add this relation to the list of its sub-relations |
void |
Ontology.removeRelation(Relation relation)
Removes a relation from the list of relations defined by this ontology. |
void |
Relation.removeSubRelation(Relation subRel)
Removes a relation from the set of sub-relations of this relation The sub-relation will also remove this relation from the list of its super-relations |
void |
Relation.removeSuperRelation(Relation superRel)
Removes a relation from the set of super-relations of this relation The super-relation will also remove this relation from the list of its sub-relations |
void |
RelationInstance.setRelation(Relation memberOf)
Sets the relation this relation instance is an instance of. |
Uses of Relation in org.wsmo.factory |
---|
Methods in org.wsmo.factory that return Relation | |
---|---|
Relation |
WsmoFactory.createRelation(Identifier id)
Creates a new Relation object. |
Relation |
WsmoFactory.getRelation(Identifier id)
Return existing Relation object |
Methods in org.wsmo.factory with parameters of type Relation | |
---|---|
RelationInstance |
WsmoFactory.createRelationInstance(Identifier id,
Relation rel)
Creates a new RelationInstance object. |
RelationInstance |
WsmoFactory.createRelationInstance(Relation rel)
Creates a new RelationInstance object. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |