org.topbraid.change
Class CreateSubClassChange

java.lang.Object
  extended by org.topbraid.core.change.AbstractChange
      extended by org.topbraid.change.CreateSubClassChange
All Implemented Interfaces:
IChange

public class CreateSubClassChange
extends AbstractChange


Constructor Summary
CreateSubClassChange(com.hp.hpl.jena.rdf.model.Resource superclass)
           
CreateSubClassChange(java.util.Set superclasses)
           
CreateSubClassChange(java.util.Set superclasses, ImageMetadata imageMetadata)
           
 
Method Summary
 void execute(ISession session, org.eclipse.core.runtime.IProgressMonitor monitor)
          Executes the change.
 java.lang.String getNewClassURI()
           
 
Methods inherited from class org.topbraid.core.change.AbstractChange
check, getImageMetadata, getLabel, isNoop, setImage, setImage, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateSubClassChange

public CreateSubClassChange(com.hp.hpl.jena.rdf.model.Resource superclass)

CreateSubClassChange

public CreateSubClassChange(java.util.Set superclasses)

CreateSubClassChange

public CreateSubClassChange(java.util.Set superclasses,
                            ImageMetadata imageMetadata)
Method Detail

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 on
monitor - a progress monitor for longish operations (may be null)

getNewClassURI

public java.lang.String getNewClassURI()