com.ibm.xtools.bpmn2.util
Class Bpmn2ResourceImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.common.notify.impl.NotifierImpl
          extended by org.eclipse.emf.ecore.resource.impl.ResourceImpl
              extended by org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl
                  extended by org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl
                      extended by org.eclipse.gmf.runtime.emf.core.resources.GMFResource
                          extended by org.eclipse.gmf.runtime.emf.core.internal.resources.MSLResource
                              extended by com.ibm.xtools.emf.core.internal.resource.RMPResource
                                  extended by com.ibm.xtools.bpmn2.util.Bpmn2ResourceImpl
All Implemented Interfaces:
com.ibm.xtools.emf.core.resource.IRMPResource, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.resource.Resource, org.eclipse.emf.ecore.resource.Resource.Internal, org.eclipse.emf.ecore.xmi.XMIResource, org.eclipse.emf.ecore.xmi.XMLResource, org.eclipse.gmf.runtime.emf.core.internal.resources.MResource2

public class Bpmn2ResourceImpl
extends com.ibm.xtools.emf.core.internal.resource.RMPResource

The Resource associated with the package.

See Also:
Bpmn2ResourceFactoryImpl

Nested Class Summary
 
Nested classes/interfaces inherited from class com.ibm.xtools.emf.core.internal.resource.RMPResource
com.ibm.xtools.emf.core.internal.resource.RMPResource.RMPExtendedMetadataReuseHelper
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.resource.Resource
org.eclipse.emf.ecore.resource.Resource.Diagnostic, org.eclipse.emf.ecore.resource.Resource.Factory, org.eclipse.emf.ecore.resource.Resource.Internal, org.eclipse.emf.ecore.resource.Resource.IOWrappedException
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.xmi.XMLResource
org.eclipse.emf.ecore.xmi.XMLResource.ElementHandler, org.eclipse.emf.ecore.xmi.XMLResource.ResourceEntityHandler, org.eclipse.emf.ecore.xmi.XMLResource.ResourceHandler, org.eclipse.emf.ecore.xmi.XMLResource.URIHandler, org.eclipse.emf.ecore.xmi.XMLResource.XMLInfo, org.eclipse.emf.ecore.xmi.XMLResource.XMLMap
 
Field Summary
 
Fields inherited from class com.ibm.xtools.emf.core.internal.resource.RMPResource
NO_SIGNATURES, OPTION__RESOURCE_MIGRATION_OPTIONS, OPTION_PRESERVE_UNKNOWN_CONTENT_ROOTS
 
Fields inherited from class org.eclipse.gmf.runtime.emf.core.resources.GMFResource
OPTION_ABORT_ON_ERROR
 
Fields inherited from interface com.ibm.xtools.emf.core.resource.IRMPResource
OPTION_PRESERVE_CONTENT_VERSION, OPTION_SAVE_CLEARCASE_TOKEN
 
Fields inherited from interface org.eclipse.emf.ecore.resource.Resource
OPTION_CIPHER, OPTION_SAVE_ONLY_IF_CHANGED, OPTION_SAVE_ONLY_IF_CHANGED_FILE_BUFFER, OPTION_SAVE_ONLY_IF_CHANGED_MEMORY_BUFFER, OPTION_ZIP, RESOURCE__CONTENTS, RESOURCE__ERRORS, RESOURCE__IS_LOADED, RESOURCE__IS_MODIFIED, RESOURCE__IS_TRACKING_MODIFICATION, RESOURCE__RESOURCE_SET, RESOURCE__TIME_STAMP, RESOURCE__URI, RESOURCE__WARNINGS
 
Fields inherited from interface org.eclipse.emf.ecore.xmi.XMIResource
OPTION_SUPPRESS_XMI, OPTION_USE_XMI_TYPE, VERSION_2_1_VALUE, VERSION_NAME, VERSION_VALUE, XMI_2_1_URI, XMI_2_4_NAMESPACE_PREFIX, XMI_ID, XMI_NAMESPACE_PREFIX, XMI_NS, XMI_TAG_NAME, XMI_URI
 
Fields inherited from interface org.eclipse.emf.ecore.xmi.XMLResource
HREF, NIL, NO_NAMESPACE_SCHEMA_LOCATION, OPTION_ANY_SIMPLE_TYPE, OPTION_ANY_TYPE, OPTION_BINARY, OPTION_CONFIGURATION_CACHE, OPTION_DECLARE_XML, OPTION_DEFER_ATTACHMENT, OPTION_DEFER_IDREF_RESOLUTION, OPTION_DISABLE_NOTIFY, OPTION_DOM_USE_NAMESPACES_IN_SCOPE, OPTION_ELEMENT_HANDLER, OPTION_ENCODING, OPTION_ESCAPE_USING_CDATA, OPTION_EXTENDED_META_DATA, OPTION_FLUSH_THRESHOLD, OPTION_FORMATTED, OPTION_KEEP_DEFAULT_CONTENT, OPTION_LAX_FEATURE_PROCESSING, OPTION_LAX_WILDCARD_PROCESSING, OPTION_LINE_WIDTH, OPTION_PARSER_FEATURES, OPTION_PARSER_PROPERTIES, OPTION_PROCESS_DANGLING_HREF, OPTION_PROCESS_DANGLING_HREF_DISCARD, OPTION_PROCESS_DANGLING_HREF_RECORD, OPTION_PROCESS_DANGLING_HREF_THROW, OPTION_PROXY_ATTRIBUTES, OPTION_RECORD_ANY_TYPE_NAMESPACE_DECLARATIONS, OPTION_RECORD_UNKNOWN_FEATURE, OPTION_RESOURCE_ENTITY_HANDLER, OPTION_RESOURCE_HANDLER, OPTION_ROOT_OBJECTS, OPTION_SAVE_DOCTYPE, OPTION_SAVE_TYPE_INFORMATION, OPTION_SCHEMA_LOCATION, OPTION_SCHEMA_LOCATION_IMPLEMENTATION, OPTION_SKIP_ESCAPE, OPTION_SKIP_ESCAPE_URI, OPTION_SUPPRESS_DOCUMENT_ROOT, OPTION_URI_HANDLER, OPTION_USE_CACHED_LOOKUP_TABLE, OPTION_USE_DEPRECATED_METHODS, OPTION_USE_ENCODED_ATTRIBUTE_STYLE, OPTION_USE_FILE_BUFFER, OPTION_USE_LEXICAL_HANDLER, OPTION_USE_PARSER_POOL, OPTION_USE_XML_NAME_TO_FEATURE_MAP, OPTION_XML_MAP, OPTION_XML_OPTIONS, OPTION_XML_VERSION, SCHEMA_LOCATION, TYPE, XML_NS, XML_SCHEMA_URI, XSI_NS, XSI_URI
 
Constructor Summary
Bpmn2ResourceImpl(org.eclipse.emf.common.util.URI uri)
          Creates an instance of the resource.
 
Method Summary
 IAutonameHelper getAutonameHelper()
           
 java.lang.String getID(org.eclipse.emf.ecore.EObject object)
          Override to get the intrinsic ID, if it exists.
 com.ibm.xtools.bpmn2.internal.util.IIDGenerator getIdGenerator()
           
 void handleMissingPackage(java.lang.String uriString)
           
 boolean isDisableIIDGenerator()
           
 void setAutonameHelper(IAutonameHelper autonameHelper)
           
 void setDisableIIDGenerator(boolean disableIIDGenerator)
           
 void setID(org.eclipse.emf.ecore.EObject object, java.lang.String id)
          Override to set the intrinsic ID, if it exists.
 void setIdGenerator(com.ibm.xtools.bpmn2.internal.util.IIDGenerator idGenerator)
           
 
Methods inherited from class com.ibm.xtools.emf.core.internal.resource.RMPResource
analyzeEPackageForNamespaceURI, createRMPResourceHandler, doLoad, doSave, getResourceHandlerStore, getXMITypeMapping, hasMigratedSchemas, hasSignatureOccurrence, isOlderArtifactVersion, load, setDefaultLoadOptions, setDefaultSaveOptions
 
Methods inherited from class org.eclipse.gmf.runtime.emf.core.internal.resources.MSLResource
eNotify, getURIFragment, setLoading
 
Methods inherited from class org.eclipse.gmf.runtime.emf.core.resources.GMFResource
basicSetResourceSet, getEObject, getSavedID, isModifyingChange, setRawURI, setURI, setUseIDAttributes
 
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl
getXMINamespace, getXMIVersion, setXMINamespace, setXMIVersion
 
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl
doLoad, doLoad, doSave, getDefaultLoadOptions, getDefaultSaveOptions, getDOMHelper, getEncoding, getEObjectToExtensionMap, getEObjectToIDMap, getIDToEObjectMap, getPublicId, getSystemId, getXMLVersion, load, load, save, save, setDoctypeInfo, setEncoding, setUseZip, setXMLVersion, toKeyString, useZip
 
Methods inherited from class org.eclipse.emf.ecore.resource.impl.ResourceImpl
attached, delete, detached, getAllContents, getContents, getErrors, getIntrinsicIDToEObjectMap, getResourceSet, getTimeStamp, getURI, getWarnings, isLoaded, isLoading, isModified, isTrackingModification, load, save, save, setIntrinsicIDToEObjectMap, setModified, setTimeStamp, setTrackingModification, toString, unload
 
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
eAdapters, eDeliver, eSetDeliver
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.resource.Resource
delete, getAllContents, getContents, getEObject, getErrors, getResourceSet, getTimeStamp, getURI, getURIFragment, getWarnings, isLoaded, isModified, isTrackingModification, load, save, save, setModified, setTimeStamp, setTrackingModification, setURI, unload
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.xmi.XMLResource
getDefaultLoadOptions, getDefaultSaveOptions, getDOMHelper, getEncoding, getEObjectToExtensionMap, getEObjectToIDMap, getIDToEObjectMap, getPublicId, getSystemId, getXMLVersion, load, load, save, save, setDoctypeInfo, setEncoding, setUseZip, setXMLVersion, useZip
 

Constructor Detail

Bpmn2ResourceImpl

public Bpmn2ResourceImpl(org.eclipse.emf.common.util.URI uri)
Creates an instance of the resource.

Parameters:
uri - the URI of the new resource.
Method Detail

isDisableIIDGenerator

public boolean isDisableIIDGenerator()

setDisableIIDGenerator

public void setDisableIIDGenerator(boolean disableIIDGenerator)

getIdGenerator

public com.ibm.xtools.bpmn2.internal.util.IIDGenerator getIdGenerator()

setIdGenerator

public void setIdGenerator(com.ibm.xtools.bpmn2.internal.util.IIDGenerator idGenerator)

getAutonameHelper

public IAutonameHelper getAutonameHelper()

setAutonameHelper

public void setAutonameHelper(IAutonameHelper autonameHelper)

getID

public java.lang.String getID(org.eclipse.emf.ecore.EObject object)
Override to get the intrinsic ID, if it exists.

Specified by:
getID in interface org.eclipse.emf.ecore.xmi.XMLResource
Overrides:
getID in class org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl

setID

public void setID(org.eclipse.emf.ecore.EObject object,
                  java.lang.String id)
Override to set the intrinsic ID, if it exists.

Specified by:
setID in interface org.eclipse.emf.ecore.xmi.XMLResource
Overrides:
setID in class org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl

handleMissingPackage

public void handleMissingPackage(java.lang.String uriString)
Overrides:
handleMissingPackage in class com.ibm.xtools.emf.core.internal.resource.RMPResource