Package org.eclipse.epsilon.emc.graphml
Class GraphmlModel
- java.lang.Object
-
- org.eclipse.epsilon.eol.models.Model
-
- org.eclipse.epsilon.emc.muddle.MuddleModel
-
- org.eclipse.epsilon.emc.graphml.GraphmlModel
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IModel
public class GraphmlModel extends MuddleModel
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.File
file
static java.lang.String
PROPERTY_FILE
static java.lang.String
PROPERTY_URI
protected java.lang.String
uri
-
Fields inherited from class org.eclipse.epsilon.emc.muddle.MuddleModel
muddle, unusedFeatures
-
Fields inherited from class org.eclipse.epsilon.eol.models.Model
aliases, ENV_PREFIX, name, PROPERTY_ALIASES, PROPERTY_NAME, PROPERTY_READONLOAD, PROPERTY_READONLY, PROPERTY_STOREONDISPOSAL, propertyGetter, propertySetter, readOnLoad, storeOnDisposal
-
-
Constructor Summary
Constructors Constructor Description GraphmlModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getFile()
java.lang.String
getUri()
void
load()
void
load(StringProperties properties, IRelativePathResolver resolver)
void
setFile(java.io.File file)
void
setUri(java.lang.String uri)
-
Methods inherited from class org.eclipse.epsilon.emc.muddle.MuddleModel
allContents, collectAllSubTypes, createInstance, deleteElement, getAllOfKind, getAllOfType, getAllSubTypes, getElementById, getElementId, getEnumerationValue, getMuddle, getTypeNameOf, getUnusedFeatures, hasType, isInstantiable, isLoaded, muddleElementTypeForName, owns, setElementId, setMuddle, store, store
-
Methods inherited from class org.eclipse.epsilon.eol.models.Model
allInstances, createInstance, dispose, getAliases, getFullyQualifiedTypeNameOf, getMetamodel, getName, getPropertyGetter, getPropertySetter, getTransactionSupport, getTypeOf, isModelElement, isOfKind, isOfType, isPropertySet, isReadOnLoad, isStoredOnDisposal, knowsAboutProperty, load, load, setName, setReadOnLoad, setStoredOnDisposal
-
-
-
-
Field Detail
-
PROPERTY_FILE
public static final java.lang.String PROPERTY_FILE
- See Also:
- Constant Field Values
-
PROPERTY_URI
public static final java.lang.String PROPERTY_URI
- See Also:
- Constant Field Values
-
file
protected java.io.File file
-
uri
protected java.lang.String uri
-
-
Method Detail
-
load
public void load(StringProperties properties, IRelativePathResolver resolver) throws EolModelLoadingException
- Specified by:
load
in interfaceIModel
- Overrides:
load
in classModel
- Throws:
EolModelLoadingException
-
load
public void load() throws EolModelLoadingException
- Specified by:
load
in interfaceIModel
- Overrides:
load
in classMuddleModel
- Throws:
EolModelLoadingException
-
setFile
public void setFile(java.io.File file)
-
getFile
public java.io.File getFile()
-
setUri
public void setUri(java.lang.String uri)
-
getUri
public java.lang.String getUri()
-
-