org.eclipse.ocl.examples.pivot.resource
Interface ASResource

All Superinterfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.resource.Resource, org.eclipse.emf.ecore.xmi.XMIResource, org.eclipse.emf.ecore.xmi.XMLResource
All Known Implementing Classes:
ASResourceImpl, CompleteOCLASResourceImpl, EcoreASResourceImpl, OCLMetaModel, OCLstdlib, Orphanage.OrphanResource, UMLASResourceImpl

public interface ASResource
extends org.eclipse.emf.ecore.xmi.XMIResource

A resource for an OCL Abstract Syntax (Pivot) Model


Nested Class Summary
 
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.MissingPackageHandler, 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
 
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
 
Field Summary
static java.lang.String COMPLETE_OCL_CONTENT_TYPE
           
static java.lang.String CONTENT_TYPE
           
static java.lang.String DEFAULT_ENCODING
          The default encoding for OCL Abstract Syntax resources.
static java.lang.String ECORE_CONTENT_TYPE
           
static java.lang.String ESSENTIALOCL_CONTENT_TYPE
           
static java.lang.String FILE_EXTENSION
          The file extension for OCL Abstract Syntax resources.
static java.lang.String LIBRARY_CONTENT_TYPE
           
static java.lang.String OCLINECORE_CONTENT_TYPE
           
static java.lang.String OCLSTDLIB_CONTENT_TYPE
           
static java.lang.String OPTION_INTERNAL_UUIDS
          Resource#save(Map) option.
static java.lang.String OPTION_NORMALIZE_CONTENTS
          Resource#save(Map) option.
static java.lang.String UML_CONTENT_TYPE
           
 
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_MISSING_PACKAGE_HANDLER, 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_PACKAGE_NS_URI_AS_LOCATION, 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
 
Fields inherited from interface org.eclipse.emf.ecore.resource.Resource
OPTION_CIPHER, OPTION_LINE_DELIMITER, OPTION_LINE_DELIMITER_UNSPECIFIED, 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
 
Method Summary
 ASResourceFactory getASResourceFactory()
          Return the ASResourceFactory that created this ASResource and which may be used to create further artefacts.
 
Methods inherited from interface org.eclipse.emf.ecore.xmi.XMIResource
getXMINamespace, getXMIVersion, setXMINamespace, setXMIVersion
 
Methods inherited from interface org.eclipse.emf.ecore.xmi.XMLResource
getDefaultLoadOptions, getDefaultSaveOptions, getDOMHelper, getEncoding, getEObjectToExtensionMap, getEObjectToIDMap, getID, getIDToEObjectMap, getPublicId, getSystemId, getXMLVersion, load, load, save, save, setDoctypeInfo, setEncoding, setID, setUseZip, setXMLVersion, useZip
 
Methods inherited from interface org.eclipse.emf.ecore.resource.Resource
delete, getAllContents, getContents, getEObject, getErrors, getResourceSet, getTimeStamp, getURI, getURIFragment, getWarnings, isLoaded, isModified, isTrackingModification, load, load, save, save, setModified, setTimeStamp, setTrackingModification, setURI, unload
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

OPTION_INTERNAL_UUIDS

static final java.lang.String OPTION_INTERNAL_UUIDS
Resource#save(Map) option.

Use UUIDs as the xmi:id of each element, such as a specialization, that cannot be referenced externally. The default behavior is to leave such elements without an explicit xmi:id so that they are referenced using the default EMF referencing scheme of e.g. #//@nestedPackage.1/@ownedType.106.

If UUIDs are used, the XMI file may be safely edited manually without disrupting references, but regeneration will produce a new set of UUIDs resulting in unstable content for the purposes of configuration management.

More pragmatically UUIDs may be specified to assist in debugging the correct generation of stable xmi:ids for externally referenceable elements: no @'s should remain.

See Also:
Constant Field Values

OPTION_NORMALIZE_CONTENTS

static final java.lang.String OPTION_NORMALIZE_CONTENTS
Resource#save(Map) option.

Rearrange the contents to enforce alphabetic ordering and so ensure stable contents after regeneration.

See Also:
Constant Field Values

FILE_EXTENSION

@NonNull
static final java.lang.String FILE_EXTENSION
The file extension for OCL Abstract Syntax resources.

See Also:
Constant Field Values

DEFAULT_ENCODING

@NonNull
static final java.lang.String DEFAULT_ENCODING
The default encoding for OCL Abstract Syntax resources.

See Also:
Constant Field Values

CONTENT_TYPE

@NonNull
static final java.lang.String CONTENT_TYPE
See Also:
Constant Field Values

COMPLETE_OCL_CONTENT_TYPE

@NonNull
static final java.lang.String COMPLETE_OCL_CONTENT_TYPE
See Also:
Constant Field Values

ECORE_CONTENT_TYPE

@NonNull
static final java.lang.String ECORE_CONTENT_TYPE
See Also:
Constant Field Values

ESSENTIALOCL_CONTENT_TYPE

@NonNull
static final java.lang.String ESSENTIALOCL_CONTENT_TYPE
See Also:
Constant Field Values

LIBRARY_CONTENT_TYPE

@NonNull
static final java.lang.String LIBRARY_CONTENT_TYPE
See Also:
Constant Field Values

OCLINECORE_CONTENT_TYPE

@NonNull
static final java.lang.String OCLINECORE_CONTENT_TYPE
See Also:
Constant Field Values

OCLSTDLIB_CONTENT_TYPE

@NonNull
static final java.lang.String OCLSTDLIB_CONTENT_TYPE
See Also:
Constant Field Values

UML_CONTENT_TYPE

@NonNull
static final java.lang.String UML_CONTENT_TYPE
See Also:
Constant Field Values
Method Detail

getASResourceFactory

@NonNull
ASResourceFactory getASResourceFactory()
Return the ASResourceFactory that created this ASResource and which may be used to create further artefacts.