|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--swBackend.SWBackendKaon
| Field Summary | |
protected java.lang.String[] |
Blacklist
|
protected swConfig |
conf
|
protected java.lang.String |
DBDatabase
|
protected java.lang.String |
DBHost
|
protected java.lang.String |
DBPassword
|
protected java.lang.String |
DBPort
|
protected java.lang.String |
DBType
|
protected java.lang.String |
DBUser
|
protected edu.unika.aifb.kaon.evolutionlog.EvolutionLog |
evolutionLog
|
protected edu.unika.aifb.kaon.api.oimodel.OIModel |
evolutionLogModelInstance
|
protected java.lang.String |
EvolutionURI
|
protected edu.unika.aifb.kaon.api.oimodel.KAONConnection |
kaonConnection
|
protected edu.unika.aifb.kaon.evolutionlog.KAONConnectionEvolutionLogs |
kaonConnectionEvolutionLogs
|
protected edu.unika.aifb.kaon.api.oimodel.OIModel |
m
|
protected java.lang.String |
ModelURI
|
protected edu.unika.aifb.kaon.api.change.EvolutionStrategy |
strategy
|
protected java.lang.String |
SuperConceptName
|
protected java.lang.String |
SuperPropertyName
|
protected java.lang.String |
SWisFunctionalLabel
|
protected java.lang.String |
SWisNotFunctionalLabel
|
protected java.lang.String |
SWlabelLanguage
|
protected java.lang.String |
SWlabelMetaConcept
|
protected java.lang.String |
SWlabelMetaInLanguage
|
protected java.lang.String |
SWlabelMetaLabel
|
protected java.lang.String |
SWlabelMetaReference
|
protected java.lang.String |
SWlabelMetaValue
|
protected java.lang.String |
SWSitelistLanguage
|
| Constructor Summary | |
SWBackendKaon()
Opens a new connection to the model if model already exists, otherwise a new model will be created. |
|
| Method Summary | |
java.util.List |
beginTransaction()
Call to begin a transaction. |
protected java.util.Vector |
cleanVector(java.util.Vector v)
|
void |
close()
Closes the connection. |
protected java.lang.String |
cutURI(java.lang.String uri)
Creates a name of an entity without the logical uri of its model. |
void |
endTransaction(java.util.List changes)
Applys all changes as transaction. |
SWQueryResult |
executeQuery(java.lang.String query)
Executes a query and returns a SWQueryResult that contains a list of Concepts, Instances, Properties and Objects, all represented as (the last part of ) the URI of the entities. |
java.util.Vector |
getAllInstances(java.lang.String concept)
Lists all instances (recursive) of a given concept. |
java.util.Vector |
getAllPropertiesFromConcept(java.lang.String concept)
Lists all properties (recursive) starting from this concept. |
java.util.Vector |
getAllPropertiesToConcept(java.lang.String concept)
Lists all properties (recursive) pointing to this concept. |
java.util.Vector |
getAllPropertyDomainConcepts(java.lang.String property)
Returns the set of range concepts of this property. |
java.util.Vector |
getAllPropertyRangeConcepts(java.lang.String property)
Returns the set of range concepts of this property. |
java.util.Vector |
getAllSubconcepts(java.lang.String concept)
Lists all subconcepts (recursive) of a given concept. |
java.util.Vector |
getAllSubproperties(java.lang.String property)
Lists subproperties (recursive) of a given property. |
java.util.Vector |
getAllSuperconcepts(java.lang.String concept)
Lists all superconcepts (recursive) of a given concept. |
java.util.Vector |
getAllSuperproperties(java.lang.String property)
Lists superproperties (recursive) of a given property. |
java.util.Vector |
getConcepts()
Lists all concepts of the model. |
java.util.Vector |
getEntitySitelist(java.lang.String entity)
|
java.util.Vector |
getInstanceAllParentConcepts(java.lang.String instance)
Lists parent concepts (recursive) of a given instance. |
java.util.Vector |
getInstanceParentConcepts(java.lang.String instance)
Lists (direct) parent concepts of a given instance. |
java.util.Vector |
getInstanceProperties(java.lang.String instance)
Lists all properties (recursive) with domain of the concept (and all superconcepts) of the given instance. |
java.util.Vector |
getInstances()
Lists all instances of the model. |
java.util.Vector |
getInstances(java.lang.String concept)
Lists all (direct) instances of a given concept. |
java.lang.String |
getInverseProperties(java.lang.String property)
Returns the name of the inverse property of a given property. |
protected java.lang.String |
getLexicalUriFunctional(edu.unika.aifb.kaon.api.oimodel.Entity entity)
|
protected java.lang.String |
getLexicalUriSitelist(edu.unika.aifb.kaon.api.oimodel.Entity entity)
|
java.lang.String |
getOWLXML()
|
java.util.Vector |
getProperties()
Lists all properties of the model. |
java.util.Vector |
getPropertiesFromConcept(java.lang.String concept)
Lists all (direct) properties starting from this concept. |
java.util.Vector |
getPropertiesToConcept(java.lang.String concept)
Lists all (direct) properties pointing to this concept. |
java.util.Vector |
getPropertyDomainConcepts(java.lang.String property)
Returns the set of range concepts of this property. |
java.util.Vector |
getPropertyInstances(java.lang.String property)
Lists propertyinstances of a given property. |
java.util.Vector |
getPropertyInstanceValues(java.lang.String instance,
java.lang.String property)
Lists values of a given property of an instance. |
java.util.Vector |
getPropertyRangeConcepts(java.lang.String property)
Returns the set of range concepts of this property. |
int |
getPVCount()
|
protected java.lang.String |
getRootConcept()
Returns name of root-concept. |
java.util.Vector |
getSubconcepts(java.lang.String concept)
Lists (direct) subconcepts of a given concept. |
java.util.Vector |
getSubproperties(java.lang.String property)
Lists (direct) subproperties of a given property. |
java.lang.String |
getSuperConcept()
|
java.util.Vector |
getSuperconcepts(java.lang.String concept)
Lists all (direct) superconcepts of a given concept. |
java.util.Vector |
getSuperproperties(java.lang.String property)
Lists (direct) superproperties of a given property. |
java.lang.String |
getSuperProperty()
|
java.lang.String |
getVersion()
Returns the current versionnumber of the model (+1 ?) |
java.lang.String |
getWikibase()
|
protected boolean |
goodString(java.lang.String s)
|
boolean |
isConceptInModel(java.lang.String concept)
Returns if concept is in the model or not. |
boolean |
isInstanceInModel(java.lang.String instance)
Returns if instance is in the model or not. |
boolean |
isPropertyAttribute(java.lang.String property)
Returns if property is attribute or not. |
boolean |
isPropertyFunctional(java.lang.String property)
Returns if property is functional or not. |
boolean |
isPropertyInModel(java.lang.String property)
Returns if property is in the model or not. |
boolean |
isPropertySymmetric(java.lang.String property)
Returns if property is symmetric or not. |
boolean |
isPropertyTransitive(java.lang.String property)
Returns if property is transitive or not. |
java.lang.String |
listTransaction(java.util.List changes)
Lists an explanation what the changes list will do. |
java.lang.String |
listVersionChanges(int version)
Lists all changes from a version to the current version. |
protected java.lang.String |
makeURI(java.lang.String name)
Creates an URI as logicalURI#name |
void |
newConcept(java.lang.String name,
java.lang.String parent)
Creates a new concept and appends it to a superclass. |
void |
newInstance(java.lang.String name,
java.lang.String concept)
Creates a new instance of a given concept. |
void |
newProperty(java.lang.String name,
java.lang.String parent)
Creats a new property. |
void |
newPropertyInstance(java.lang.String property,
java.lang.String instance,
java.lang.Object val)
Adds an instance of a property to a concept given a value. |
void |
newSuperConcept(java.lang.String name)
Creates a new superconcept. |
void |
newSuperProperty(java.lang.String name)
Creates a new superproperty. |
protected void |
newVersion(java.util.List changes)
Creates a new version(-number) of the model. |
protected void |
redo()
Restores the version before undo was executed of the model. |
void |
removeConcept(java.lang.String concept)
Removes a concept. |
void |
removeInstance(java.lang.String instance)
Removes an instance. |
void |
removeProperty(java.lang.String property)
Removes a property. |
void |
saveAsFileKAON(java.lang.String modelFilename)
|
void |
saveAsFileKAON(java.lang.String modelFilename,
java.lang.String evolutionLogFilename)
|
void |
saveAsFileOWLXML(java.lang.String modelFilename)
|
void |
saveAsFileOWLXML(java.lang.String modelFilename,
java.lang.String evolutionLogFilename)
|
void |
setConceptParents(java.lang.String name,
java.util.Vector parents)
Sets the parents of a concepts. |
java.util.List |
setConceptParentsTrans(java.lang.String name,
java.util.Vector _parents,
java.util.List transactionList)
Sets the parents of a concepts as transaction. |
void |
setEntitySitelist(java.lang.String entity,
java.util.Vector sitelist)
Sets the sitelist of an entity (a list of URLs where the entity appears). |
java.util.List |
setEntitySitelistTrans(java.lang.String entity,
java.util.Vector sitelist,
java.util.List transactionList)
Sets the sitelist of an entity (a list of URLs where the entity appears). |
void |
setInstanceOfConcepts(java.lang.String name,
java.util.Vector parents)
Sets the concepts of a instance from that the instance is an instance of as transaction. |
java.util.List |
setInstanceOfConceptsTrans(java.lang.String name,
java.util.Vector _parents,
java.util.List transactionList)
Sets the concepts of a instance from that the instance is an instance of as transaction. |
void |
setPropertyDomainAndRange(java.lang.String property,
java.util.Vector domain,
java.util.Vector ranges,
boolean AIsTransitive,
boolean AIsSymmetric,
java.lang.String AInverse)
Sets the domain and ranges of a property. |
java.util.List |
setPropertyDomainAndRangeTrans(java.lang.String property,
java.util.Vector domain,
java.util.Vector range,
boolean AIsTransitive,
boolean AIsSymmetric,
java.lang.String AInverse,
java.util.List transactionList)
Sets the domain and ranges of a property as transaction. |
void |
setPropertyDomainConcepts(java.lang.String name,
java.util.Vector domains)
Sets the domains of a property. |
java.util.List |
setPropertyDomainConceptsTrans(java.lang.String name,
java.util.Vector domainConcepts,
java.util.List transactionList)
Sets the domains of a property as transaction. |
void |
setPropertyFunctional(java.lang.String property,
boolean isItSo)
Sets if property is functional or not. |
java.util.List |
setPropertyFunctionalTrans(java.lang.String property,
boolean isItSo,
java.util.List transactionList)
Sets if property is functional or not as transaction. |
void |
setPropertyInstanceValues(java.lang.String property,
java.lang.String instance,
java.util.Vector values)
|
java.util.List |
setPropertyInstanceValuesTrans(java.lang.String property,
java.lang.String instance,
java.util.Vector values,
java.util.List transactionList)
Sets the values of a given property of an instance. |
void |
setPropertyInverse(java.lang.String property1,
java.lang.String property2)
Establishes the inverse connection between two properties. |
java.util.List |
setPropertyInverseTrans(java.lang.String property1,
java.lang.String property2,
java.util.List transactionList)
Establishes the inverse connection between two properties as transaction. |
void |
setPropertyIsAttribute(java.lang.String property,
boolean isItSo)
Sets or unsets property as attributet. |
java.util.List |
setPropertyIsAttributeTrans(java.lang.String property,
boolean isItSo,
java.util.List transactionList)
Sets or unsets property as attribute as transaction. |
void |
setPropertyIsSymmetric(java.lang.String property,
boolean isItSo)
Sets property symmetric or not. |
java.util.List |
setPropertyIsSymmetricTrans(java.lang.String property,
boolean isItSo,
java.util.List transactionList)
Sets property symmetric or not as transaction. |
void |
setPropertyIsTransitive(java.lang.String property,
boolean isItSo)
Sets property transitive or not. |
java.util.List |
setPropertyIsTransitiveTrans(java.lang.String property,
boolean isItSo,
java.util.List transactionList)
Sets property transitive or not as transaction. |
void |
setPropertyParents(java.lang.String name,
java.util.Vector parents)
Sets the parents of a property. |
java.util.List |
setPropertyParentsTrans(java.lang.String name,
java.util.Vector _parents,
java.util.List transactionList)
Sets the parents of a property as transaction. |
void |
setPropertyRangeConcepts(java.lang.String name,
java.util.Vector ranges)
Sets the ranges of a property. |
java.util.List |
setPropertyRangeConceptsTrans(java.lang.String name,
java.util.Vector rangesConcepts,
java.util.List transactionList)
Sets the ranges of a property as transaction. |
void |
setVersion(int version)
Restores an older version of the model and creates a new version. |
protected void |
setVersionNumber(int version)
Applies a versionnumber to the model. |
protected void |
undo()
Restores last version of the model and creates a new version. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected edu.unika.aifb.kaon.api.oimodel.KAONConnection kaonConnection
protected edu.unika.aifb.kaon.api.oimodel.OIModel m
protected edu.unika.aifb.kaon.api.change.EvolutionStrategy strategy
protected java.lang.String DBType
protected java.lang.String DBHost
protected java.lang.String DBPort
protected java.lang.String DBDatabase
protected java.lang.String DBUser
protected java.lang.String DBPassword
protected java.lang.String ModelURI
protected java.lang.String EvolutionURI
protected java.lang.String SuperConceptName
protected java.lang.String SuperPropertyName
protected java.lang.String SWisFunctionalLabel
protected java.lang.String SWisNotFunctionalLabel
protected java.lang.String SWlabelLanguage
protected java.lang.String SWSitelistLanguage
protected java.lang.String SWlabelMetaConcept
protected java.lang.String SWlabelMetaReference
protected java.lang.String SWlabelMetaInLanguage
protected java.lang.String SWlabelMetaValue
protected java.lang.String SWlabelMetaLabel
protected java.lang.String[] Blacklist
protected swConfig conf
protected edu.unika.aifb.kaon.evolutionlog.KAONConnectionEvolutionLogs kaonConnectionEvolutionLogs
protected edu.unika.aifb.kaon.evolutionlog.EvolutionLog evolutionLog
protected edu.unika.aifb.kaon.api.oimodel.OIModel evolutionLogModelInstance
| Constructor Detail |
public SWBackendKaon()
throws SWException
SWException| Method Detail |
public void close()
throws SWException
close in interface IAbstractionLayerSWExceptionpublic java.lang.String getSuperConcept()
getSuperConcept in interface IAbstractionLayerpublic java.lang.String getSuperProperty()
getSuperProperty in interface IAbstractionLayerpublic java.lang.String getWikibase()
getWikibase in interface IAbstractionLayerprotected java.util.Vector cleanVector(java.util.Vector v)
protected boolean goodString(java.lang.String s)
protected java.lang.String makeURI(java.lang.String name)
throws SWException
name - The name of the entity.
SWException
protected java.lang.String cutURI(java.lang.String uri)
throws SWException
uri -
SWException
protected java.lang.String getLexicalUriFunctional(edu.unika.aifb.kaon.api.oimodel.Entity entity)
throws SWException
SWException
protected java.lang.String getLexicalUriSitelist(edu.unika.aifb.kaon.api.oimodel.Entity entity)
throws SWException
SWException
public void endTransaction(java.util.List changes)
throws SWException
endTransaction in interface IAbstractionLayerchanges - The changes to make
SWException
public java.lang.String listTransaction(java.util.List changes)
throws SWException
listTransaction in interface IAbstractionLayerchanges - The changes list.
SWExceptionpublic java.util.List beginTransaction()
beginTransaction in interface IAbstractionLayer
public void newProperty(java.lang.String name,
java.lang.String parent)
throws SWException
newProperty in interface IAbstractionLayername - The name of the new property.
SWException
public void newPropertyInstance(java.lang.String property,
java.lang.String instance,
java.lang.Object val)
throws SWException
newPropertyInstance in interface IAbstractionLayerproperty - Property has to exist already!instance - Instance has to exist alreasy!val - The value of the instance. If property.isAttribute the object will be used,
otherwise the instance named by (string)val will be used.
SWException
public void setPropertyIsAttribute(java.lang.String property,
boolean isItSo)
throws SWException
setPropertyIsAttribute in interface IAbstractionLayerproperty - The property that domain will be set.isItSo - true if property is attribute, false if is no attribute (use to unset)
SWException
public java.util.List setPropertyIsAttributeTrans(java.lang.String property,
boolean isItSo,
java.util.List transactionList)
throws SWException
setPropertyIsAttributeTrans in interface IAbstractionLayerproperty - The property that domain will be set.isItSo - true if property is attribute, false if is no attribute (use to unset)
SWException
public void setPropertyIsSymmetric(java.lang.String property,
boolean isItSo)
throws SWException
setPropertyIsSymmetric in interface IAbstractionLayerproperty - The property that domain will be set.isItSo - true if property is symmetric, false if is not symmetric (use to unset)
SWException
public java.util.List setPropertyIsSymmetricTrans(java.lang.String property,
boolean isItSo,
java.util.List transactionList)
throws SWException
setPropertyIsSymmetricTrans in interface IAbstractionLayerproperty - The property that domain will be set.isItSo - true if property is symmetric, false if is not symmetric (use to unset)
SWException
public void setPropertyIsTransitive(java.lang.String property,
boolean isItSo)
throws SWException
setPropertyIsTransitive in interface IAbstractionLayerproperty - The property that domain will be set.isItSo - true if property is transitive, false if is not transitive (use to unset)
SWException
public java.util.List setPropertyIsTransitiveTrans(java.lang.String property,
boolean isItSo,
java.util.List transactionList)
throws SWException
setPropertyIsTransitiveTrans in interface IAbstractionLayerproperty - The property that domain will be set.isItSo - true if property is transitive, false if is not transitive (use to unset)
SWException
public void setPropertyInverse(java.lang.String property1,
java.lang.String property2)
throws SWException
setPropertyInverse in interface IAbstractionLayerSWException
public java.util.List setPropertyInverseTrans(java.lang.String property1,
java.lang.String property2,
java.util.List transactionList)
throws SWException
setPropertyInverseTrans in interface IAbstractionLayerSWException
public java.util.Vector getProperties()
throws SWException
getProperties in interface IAbstractionLayerSWException
public void newSuperProperty(java.lang.String name)
throws SWException
newSuperProperty in interface IAbstractionLayername - The name of the superproperty.
SWException
public void newSuperConcept(java.lang.String name)
throws SWException
newSuperConcept in interface IAbstractionLayername - The name of the superconcept.
SWException
public void newConcept(java.lang.String name,
java.lang.String parent)
throws SWException
newConcept in interface IAbstractionLayername - The name of the concept.parent - The superclass of the concept.
SWException
public void setConceptParents(java.lang.String name,
java.util.Vector parents)
throws SWException
setConceptParents in interface IAbstractionLayername - The name of the concept.parents - Vector of Strings of the names of the parents of the concept.
SWException
public java.util.List setConceptParentsTrans(java.lang.String name,
java.util.Vector _parents,
java.util.List transactionList)
throws SWException
setConceptParentsTrans in interface IAbstractionLayername - The name of the concept.
SWException
public void setInstanceOfConcepts(java.lang.String name,
java.util.Vector parents)
throws SWException
setInstanceOfConcepts in interface IAbstractionLayername - The name of the instance.parents - Vector of Strings of the names of the concepts-of.
SWException
public java.util.List setInstanceOfConceptsTrans(java.lang.String name,
java.util.Vector _parents,
java.util.List transactionList)
throws SWException
setInstanceOfConceptsTrans in interface IAbstractionLayername - The name of the instance.
SWException
public void setPropertyParents(java.lang.String name,
java.util.Vector parents)
throws SWException
setPropertyParents in interface IAbstractionLayername - The name of the property.parents - Vector of Strings of the names of the parents of the property.
SWException
public java.util.List setPropertyParentsTrans(java.lang.String name,
java.util.Vector _parents,
java.util.List transactionList)
throws SWException
setPropertyParentsTrans in interface IAbstractionLayername - The name of the property.
SWException
public void setPropertyInstanceValues(java.lang.String property,
java.lang.String instance,
java.util.Vector values)
throws SWException
setPropertyInstanceValues in interface IAbstractionLayerSWException
public java.util.List setPropertyInstanceValuesTrans(java.lang.String property,
java.lang.String instance,
java.util.Vector values,
java.util.List transactionList)
throws SWException
setPropertyInstanceValuesTrans in interface IAbstractionLayerproperty - Property has to exist already!instance - Instance has to exist alreasy!values - The values of the instance. If property.isAttribute the object as String will be used,
otherwise the instance named by the objects as Strings will be used.
SWException
public void setPropertyDomainConcepts(java.lang.String name,
java.util.Vector domains)
throws SWException
setPropertyDomainConcepts in interface IAbstractionLayername - The name of the property.
SWException
public java.util.List setPropertyDomainConceptsTrans(java.lang.String name,
java.util.Vector domainConcepts,
java.util.List transactionList)
throws SWException
setPropertyDomainConceptsTrans in interface IAbstractionLayername - The name of the property.
SWException
public void setPropertyRangeConcepts(java.lang.String name,
java.util.Vector ranges)
throws SWException
setPropertyRangeConcepts in interface IAbstractionLayername - The name of the property.
SWException
public java.util.List setPropertyRangeConceptsTrans(java.lang.String name,
java.util.Vector rangesConcepts,
java.util.List transactionList)
throws SWException
setPropertyRangeConceptsTrans in interface IAbstractionLayername - The name of the property.
SWException
public void setPropertyDomainAndRange(java.lang.String property,
java.util.Vector domain,
java.util.Vector ranges,
boolean AIsTransitive,
boolean AIsSymmetric,
java.lang.String AInverse)
throws SWException
setPropertyDomainAndRange in interface IAbstractionLayerdomain - Vector of Strings of the names of the domain of the property.ranges - Vector of Strings of the names of the ranges of the property.
SWException
public java.util.List setPropertyDomainAndRangeTrans(java.lang.String property,
java.util.Vector domain,
java.util.Vector range,
boolean AIsTransitive,
boolean AIsSymmetric,
java.lang.String AInverse,
java.util.List transactionList)
throws SWException
setPropertyDomainAndRangeTrans in interface IAbstractionLayerdomain - Vector of Strings of the names of the domain of the property.transactionList - List of the (old) changes to be looped through.
SWException
protected java.lang.String getRootConcept()
throws SWException
SWException
public java.util.Vector getConcepts()
throws SWException
getConcepts in interface IAbstractionLayerSWException
public java.util.Vector getAllSubconcepts(java.lang.String concept)
throws SWException
getAllSubconcepts in interface IAbstractionLayerconcept - The concepts from that the subconcepts will be returned.
SWException
public java.util.Vector getAllSuperconcepts(java.lang.String concept)
throws SWException
getAllSuperconcepts in interface IAbstractionLayerconcept - The concepts from that the superconcepts will be returned.
SWException
public java.util.Vector getSuperconcepts(java.lang.String concept)
throws SWException
getSuperconcepts in interface IAbstractionLayerconcept - The concepts from that the superconcepts will be returned.
SWException
public java.util.Vector getSubconcepts(java.lang.String concept)
throws SWException
getSubconcepts in interface IAbstractionLayerconcept - The concepts from that the subconcepts will be returned.
SWException
public java.util.Vector getAllInstances(java.lang.String concept)
throws SWException
getAllInstances in interface IAbstractionLayerconcept - The concepts from that the instances will be returned.
SWException
public java.util.Vector getInstances(java.lang.String concept)
throws SWException
getInstances in interface IAbstractionLayerconcept - The concepts from that the instances will be returned.
SWException
public java.util.Vector getInstanceProperties(java.lang.String instance)
throws SWException
getInstanceProperties in interface IAbstractionLayerinstance - The name of the instance
SWException
public int getPVCount()
throws SWException
getPVCount in interface IAbstractionLayerSWException
public java.util.Vector getAllPropertiesFromConcept(java.lang.String concept)
throws SWException
getAllPropertiesFromConcept in interface IAbstractionLayerconcept - The concepts from that the properties will be returned.
SWException
public java.util.Vector getPropertiesFromConcept(java.lang.String concept)
throws SWException
getPropertiesFromConcept in interface IAbstractionLayerconcept - The concepts from that the properties will be returned.
SWException
public java.util.Vector getAllPropertiesToConcept(java.lang.String concept)
throws SWException
getAllPropertiesToConcept in interface IAbstractionLayerconcept - The concepts from that the properties will be returned.
SWException
public java.util.Vector getPropertiesToConcept(java.lang.String concept)
throws SWException
getPropertiesToConcept in interface IAbstractionLayerconcept - The concepts from that the properties will be returned.
SWException
public java.util.Vector getSubproperties(java.lang.String property)
throws SWException
getSubproperties in interface IAbstractionLayerproperty - The property from that the subproperties will be returned.
SWException
public java.util.Vector getAllSubproperties(java.lang.String property)
throws SWException
getAllSubproperties in interface IAbstractionLayerproperty - The property from that the subproperties will be returned.
SWException
public java.util.Vector getSuperproperties(java.lang.String property)
throws SWException
getSuperproperties in interface IAbstractionLayerproperty - The property from that the superproperties will be returned.
SWException
public java.util.Vector getAllSuperproperties(java.lang.String property)
throws SWException
getAllSuperproperties in interface IAbstractionLayerproperty - The property from that the superproperties will be returned.
SWException
public java.lang.String getInverseProperties(java.lang.String property)
throws SWException
getInverseProperties in interface IAbstractionLayerproperty - The property from that the inverse property will be returned.
SWException
public java.util.Vector getPropertyInstances(java.lang.String property)
throws SWException
getPropertyInstances in interface IAbstractionLayerproperty - The property from that the instances will be returned.
SWException
public java.util.Vector getPropertyInstanceValues(java.lang.String instance,
java.lang.String property)
throws SWException
getPropertyInstanceValues in interface IAbstractionLayerinstance - The instance from that the values will be returned.property - The property from that the values will be returned.
SWException
public java.util.Vector getPropertyDomainConcepts(java.lang.String property)
throws SWException
getPropertyDomainConcepts in interface IAbstractionLayerproperty - The property from that the instances will be returned.
SWException
public java.util.Vector getAllPropertyDomainConcepts(java.lang.String property)
throws SWException
getAllPropertyDomainConcepts in interface IAbstractionLayerproperty - The property from that the instances will be returned.
SWException
public java.util.Vector getPropertyRangeConcepts(java.lang.String property)
throws SWException
getPropertyRangeConcepts in interface IAbstractionLayerproperty - The property from that the instances will be returned.
SWException
public java.util.Vector getAllPropertyRangeConcepts(java.lang.String property)
throws SWException
getAllPropertyRangeConcepts in interface IAbstractionLayerproperty - The property from that the instances will be returned.
SWException
public boolean isPropertyAttribute(java.lang.String property)
throws SWException
isPropertyAttribute in interface IAbstractionLayerproperty - The name of the property.
SWException
public boolean isPropertySymmetric(java.lang.String property)
throws SWException
isPropertySymmetric in interface IAbstractionLayerproperty - The name of the property.
SWException
public boolean isPropertyTransitive(java.lang.String property)
throws SWException
isPropertyTransitive in interface IAbstractionLayerproperty - The name of the property.
SWException
public boolean isPropertyInModel(java.lang.String property)
throws SWException
isPropertyInModel in interface IAbstractionLayerproperty - The name of the property.
SWException
public boolean isConceptInModel(java.lang.String concept)
throws SWException
isConceptInModel in interface IAbstractionLayerconcept - The name of the concept.
SWException
public boolean isInstanceInModel(java.lang.String instance)
throws SWException
isInstanceInModel in interface IAbstractionLayerinstance - The name of the instance.
SWException
public boolean isPropertyFunctional(java.lang.String property)
throws SWException
isPropertyFunctional in interface IAbstractionLayerproperty - The name of the property.
SWException
public void setPropertyFunctional(java.lang.String property,
boolean isItSo)
throws SWException
setPropertyFunctional in interface IAbstractionLayerproperty - The name of the property.isItSo - Set true if property is functional, else false
SWException
public java.util.List setPropertyFunctionalTrans(java.lang.String property,
boolean isItSo,
java.util.List transactionList)
throws SWException
setPropertyFunctionalTrans in interface IAbstractionLayerproperty - The name of the property.isItSo - Set true if property is functional, else false
SWException
public void setEntitySitelist(java.lang.String entity,
java.util.Vector sitelist)
throws SWException
setEntitySitelist in interface IAbstractionLayerentity - The name of the entity.sitelist - The sitelist to set.
SWException
public java.util.List setEntitySitelistTrans(java.lang.String entity,
java.util.Vector sitelist,
java.util.List transactionList)
throws SWException
setEntitySitelistTrans in interface IAbstractionLayerentity - The name of the entity.sitelist - The sitelist to set.
SWException
public java.util.Vector getEntitySitelist(java.lang.String entity)
throws SWException
getEntitySitelist in interface IAbstractionLayerentity -
SWException
public java.util.Vector getInstanceParentConcepts(java.lang.String instance)
throws SWException
getInstanceParentConcepts in interface IAbstractionLayerSWException
public java.util.Vector getInstanceAllParentConcepts(java.lang.String instance)
throws SWException
getInstanceAllParentConcepts in interface IAbstractionLayerSWException
public void newInstance(java.lang.String name,
java.lang.String concept)
throws SWException
newInstance in interface IAbstractionLayername - Name of the new instance.concept - Name of the concept the instance is from.
SWException
public java.util.Vector getInstances()
throws SWException
getInstances in interface IAbstractionLayerSWException
public void removeConcept(java.lang.String concept)
throws SWException
removeConcept in interface IAbstractionLayerconcept - The name of the concept to remove.
SWException
public void removeInstance(java.lang.String instance)
throws SWException
removeInstance in interface IAbstractionLayerinstance - The name of the instance to remove.
SWException
public void removeProperty(java.lang.String property)
throws SWException
removeProperty in interface IAbstractionLayerproperty - The name of the property to remove.
SWException
protected void newVersion(java.util.List changes)
throws SWException
changes -
SWException
protected void redo()
throws SWException
SWException
protected void undo()
throws SWException
SWException
public void setVersion(int version)
throws SWException
setVersion in interface IAbstractionLayerversion - the version that should be restored.
SWException
public java.lang.String listVersionChanges(int version)
throws SWException
listVersionChanges in interface IAbstractionLayerversion - the version from that the changes should be listed.
SWException
protected void setVersionNumber(int version)
throws SWException
version -
SWExceptionnewVersion()
public java.lang.String getVersion()
throws SWException
getVersion in interface IAbstractionLayerSWException
public void saveAsFileKAON(java.lang.String modelFilename)
throws SWException
saveAsFileKAON in interface IAbstractionLayerSWException
public void saveAsFileKAON(java.lang.String modelFilename,
java.lang.String evolutionLogFilename)
throws SWException
saveAsFileKAON in interface IAbstractionLayerSWException
public void saveAsFileOWLXML(java.lang.String modelFilename)
throws SWException
saveAsFileOWLXML in interface IAbstractionLayerSWException
public java.lang.String getOWLXML()
throws SWException
getOWLXML in interface IAbstractionLayerSWException
public void saveAsFileOWLXML(java.lang.String modelFilename,
java.lang.String evolutionLogFilename)
throws SWException
saveAsFileOWLXML in interface IAbstractionLayerSWException
public SWQueryResult executeQuery(java.lang.String query)
throws SWException
executeQuery in interface IAbstractionLayerquery -
SWException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||