| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Root'.
The following features are supported:
Method Summary | |
boolean | canCreateMapping(Collection inputs,
Collection outputs,
Mapping mapping)
If mapping is null, this checks if a mapping can be created with the given inputs and outputs. |
boolean | canRemoveMapping(Mapping mapping)
This checks if the given mapping can be removed. |
Mapping | createMapping(Collection inputs,
Collection outputs)
This creates a new, appropriately-parented, mapping object with the given collections of input and output objects. |
void | deregister(Mapping mapping)
This removes cached information about this mapping. |
void | dispose()
This disposes all the adapters used to record the mapped object state. |
Collection | getAllMappings(Collection collection)
This returns the |
String | getCommandStack()
Returns the value of the 'Command Stack' attribute |
MappingDomain | getDomain()
This returns the associated mapping domain. |
Collection | getExactMappings(Collection collection)
This returns the subset of mappings returned by getAllMappings(java.util.Collection) such that have each mapping has |
MappedObjectState | getMappedObjectState(Object object)
This returns the mapping state, if any, of the given object. |
Collection | getMappings(Object object)
This returns a collection of the mappings that refer to the given object. |
Mapping | getParentMapping(Collection collection)
This returns the mapping in the tree that would be the parent of a mapping that has the given collection as its mapped objects. |
MappingRoot | getTypeMappingRoot()
This returns the root of the type mapping model. |
boolean | isAttachedObject(Object object)
This returns whether the given object descends from one of the root's input or output objects. |
boolean | isBottomObject(Object object)
This returns whether the given object is a bottom domain object. |
boolean | isDirty()
This method returns true if the mapping tree needs to be saved. |
boolean | isInputObject(Object object)
This returns whether the given object is an input object in the domain. |
boolean | isOutputDirty()
This method returns true if the mapping output needs to be saved. |
boolean | isOutputObject(Object object)
This returns whether the given object is an output object in the domain. |
boolean | isOutputReadOnly()
Returns the value of the 'Output Read Only' attribute |
boolean | isTopObject(Object object)
This returns whether the given object is a top domain object. |
boolean | isTopToBottom()
Returns the value of the 'Top To Bottom' attribute |
void | refreshMappedObjectStates(Mapping subtree)
This refreshes the mapped objects states of all mappings rooted at the specified mapping subtree. |
void | register(Mapping mapping)
This adds cached information about this mapping. |
void | resetDirty()
This method resets the mapping and output dirty flags. |
void | setCommandStack(String value)
Sets the value of the 'Command Stack' attribute |
void | setDomain(MappingDomain domain)
This sets the domain of this mapping root. |
void | setOutputDirty(boolean dirty)
This method sets the output dirty flag. |
void | setOutputReadOnly(boolean value)
Sets the value of the 'Output Read Only' attribute |
void | setTopToBottom(boolean value)
Sets the value of the 'Top To Bottom' attribute |
Methods inherited from interface org.eclipse.emf.mapping.Mapping |
getBottoms, getEffectiveHelper, getHelper, getInputs, getMappedObjects, getMappingRoot, getNested, getNestedIn, getOutputs, getReceivers, getSenders, getTops, getTypeMapping, isReverse, setHelper, setNestedIn, setTypeMapping, treeIterator, treeIterator |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
public boolean isOutputReadOnly()
If the meaning of the 'Output Read Only' attribute isn't clear, there really should be more of a description here...
public void setOutputReadOnly(boolean value)
public boolean isTopToBottom()
If the meaning of the 'Top To Bottom' attribute isn't clear, there really should be more of a description here...
public void setTopToBottom(boolean value)
public String getCommandStack()
If the meaning of the 'Command Stack' attribute isn't clear, there really should be more of a description here...
public void setCommandStack(String value)
public MappingDomain getDomain()
public void setDomain(MappingDomain domain)
public void refreshMappedObjectStates(Mapping subtree)
public Collection getMappings(Object object)
public Collection getAllMappings(Collection collection)
public Collection getExactMappings(Collection collection)
public Mapping getParentMapping(Collection collection)
public boolean canCreateMapping(Collection inputs, Collection outputs, Mapping mapping)
public boolean canRemoveMapping(Mapping mapping)
public Mapping createMapping(Collection inputs, Collection outputs)
public void resetDirty()
public boolean isDirty()
public boolean isOutputDirty()
public void setOutputDirty(boolean dirty)
public boolean isInputObject(Object object)
public boolean isOutputObject(Object object)
public boolean isTopObject(Object object)
public boolean isBottomObject(Object object)
public boolean isAttachedObject(Object object)
public void register(Mapping mapping)
public void deregister(Mapping mapping)
public MappedObjectState getMappedObjectState(Object object)
public MappingRoot getTypeMappingRoot()
public void dispose()
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |