}
public void setResource(final Resource resource) {
this.resource = resource;
}
public static Fsm load(final String uri) {
<BUG>org.eclipse.emf.ecore.resource.ResourceSet rs = new org.eclipse.emf.ecore.resource.impl.ResourceSetImpl() ;
Resource res = rs.getResource(org.eclipse.emf.common.util.URI.createURI(uri), true) ;
Fsm mm = new Fsm() ;</BUG>
mm.setResource(res) ;
return mm ;

}
public void setResource(final Resource resource) {
this.resource = resource;
}
public static Fsm load(final String uri) {
ResourceSet rs = new ResourceSetImpl() ;
Resource res = rs.getResource(URI.createURI(uri), true) ;
Fsm mm = new Fsm() ;
mm.setResource(res) ;
return mm ;
