org.topbraid.change.refactoring
Class ExtractClassChange
java.lang.Object
org.topbraid.core.change.AbstractChange
org.topbraid.change.refactoring.ExtractClassChange
- All Implemented Interfaces:
- IChange
public class ExtractClassChange
- extends AbstractChange
|
Constructor Summary |
ExtractClassChange(com.hp.hpl.jena.ontology.OntModel ontModel,
com.hp.hpl.jena.rdf.model.Resource newClass,
com.hp.hpl.jena.rdf.model.Resource association,
com.hp.hpl.jena.ontology.OntProperty[] properties,
java.lang.String namePattern,
boolean merge)
|
|
Method Summary |
void |
execute(ISession session,
org.eclipse.core.runtime.IProgressMonitor monitor)
Executes the change. |
protected com.hp.hpl.jena.rdf.model.Resource |
getExistingResource(java.lang.String nameSpace,
java.lang.String localName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtractClassChange
public ExtractClassChange(com.hp.hpl.jena.ontology.OntModel ontModel,
com.hp.hpl.jena.rdf.model.Resource newClass,
com.hp.hpl.jena.rdf.model.Resource association,
com.hp.hpl.jena.ontology.OntProperty[] properties,
java.lang.String namePattern,
boolean merge)
execute
public void execute(ISession session,
org.eclipse.core.runtime.IProgressMonitor monitor)
- Description copied from interface:
IChange
- Executes the change. This should perform the changes to a Jena model.
In case of an unexpected state, the method may throw an IllegalStateException.
- Parameters:
session - the session to execute the change onmonitor - a progress monitor for longish operations (may be null)
getExistingResource
protected com.hp.hpl.jena.rdf.model.Resource getExistingResource(java.lang.String nameSpace,
java.lang.String localName)