|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.fluxion.runcible.impl.MappingImpl
public class MappingImpl
Javadocs go here.
Constructor Summary | |
---|---|
MappingImpl()
|
Method Summary | |
---|---|
void |
addRule(Rule rule)
Add a Rule to this Mapping |
void |
deregisterMappingListener(MappingListener listener)
Removes a MappingListener from this Mapping. |
Rule |
findBoundVariable(java.lang.String boundVariableID)
Locate a rule within this Mapping with the bound data variable, using the given bound variable ID. |
Rule |
findRule(java.lang.String variableID)
Locate a rule within this Mapping with the a "forall" statement with the given variable ID. |
java.util.Set<Rule> |
getRules()
Returns the Set of Rules that make up this mapping. |
java.net.URI |
getSourceOntologyURI()
Get the URI of the source ontology. |
java.net.URI |
getTargetOntologyURI()
Get the URI of the target ontology. |
void |
registerMappingListener(MappingListener listener)
Adds a MappingListener to this Mapping. |
void |
removeRule(Rule rule)
Remove a rule from this mapping |
void |
setSourceOntologyURI(java.net.URI sourceURI)
Set the URI of the source ontology for this mapping. |
void |
setTargetOntologyURI(java.net.URI targetURI)
Set the URI of the target ontology for this mapping. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MappingImpl()
Method Detail |
---|
public void setSourceOntologyURI(java.net.URI sourceURI)
Mapping
setSourceOntologyURI
in interface Mapping
sourceURI
- the URI of the source ontologypublic java.net.URI getSourceOntologyURI()
Mapping
getSourceOntologyURI
in interface Mapping
public void setTargetOntologyURI(java.net.URI targetURI)
Mapping
setTargetOntologyURI
in interface Mapping
targetURI
- the URI of the target ontologypublic java.net.URI getTargetOntologyURI()
Mapping
getTargetOntologyURI
in interface Mapping
public void addRule(Rule rule)
Mapping
addRule
in interface Mapping
rule
- the Rule to addpublic java.util.Set<Rule> getRules()
Mapping
getRules
in interface Mapping
public void removeRule(Rule rule)
Mapping
removeRule
in interface Mapping
rule
- the Rule to removepublic void registerMappingListener(MappingListener listener)
Mapping
registerMappingListener
in interface Mapping
listener
- a MappingListener to register to this Mappingpublic void deregisterMappingListener(MappingListener listener)
Mapping
deregisterMappingListener
in interface Mapping
listener
- the MappingListener to deregister from this Mappingpublic Rule findRule(java.lang.String variableID)
Mapping
findRule
in interface Mapping
variableID
- the variable ID of the forall statement in the Rule we
wish to locate
public Rule findBoundVariable(java.lang.String boundVariableID)
Mapping
findBoundVariable
in interface Mapping
boundVariableID
- the variable ID of a dataclause within the Rule
being located
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |