public interface ASResource
Modifier and Type | Field and Description |
---|---|
static String |
COMPLETE_OCL_CONTENT_TYPE |
static String |
CONTENT_TYPE |
static String |
DEFAULT_ENCODING
The default encoding for OCL Abstract Syntax resources.
|
static String |
ECORE_CONTENT_TYPE |
static String |
ESSENTIALOCL_CONTENT_TYPE |
static String |
FILE_EXTENSION
The file extension for OCL Abstract Syntax resources.
|
static String |
OCLINECORE_CONTENT_TYPE |
static String |
OCLSTDLIB_CONTENT_TYPE |
static String |
OPTION_INTERNAL_UUIDS
Resource#save(Map) option. |
static String |
OPTION_NORMALIZE_CONTENTS
Resource#save(Map) option. |
static String |
UML_CONTENT_TYPE |
Modifier and Type | Method and Description |
---|---|
ASResourceFactory |
getASResourceFactory()
Return the ASResourceFactory that created this ASResource and which may be used
to create further artefacts.
|
Model |
getModel()
Return the Model that provides the sole root content.
|
static final 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 with a shorter simple sequential xmi:id.
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.
static final String OPTION_NORMALIZE_CONTENTS
Resource#save(Map)
option.
Rearrange the contents to enforce alphabetic ordering and so ensure stable contents after regeneration.
static final String FILE_EXTENSION
static final String DEFAULT_ENCODING
static final String CONTENT_TYPE
static final String COMPLETE_OCL_CONTENT_TYPE
static final String ECORE_CONTENT_TYPE
static final String ESSENTIALOCL_CONTENT_TYPE
static final String OCLINECORE_CONTENT_TYPE
static final String OCLSTDLIB_CONTENT_TYPE
static final String UML_CONTENT_TYPE
ASResourceFactory getASResourceFactory()
Model getModel()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.