@Beta public class ResourceDescriptionsData extends AbstractCompoundSelectable
ResourceDescriptionsData
provide indexed access to
resource descriptions that export elements with a certain name.Modifier and Type | Class and Description |
---|---|
static class |
ResourceDescriptionsData.ResourceSetAdapter |
Modifier | Constructor and Description |
---|---|
|
ResourceDescriptionsData(java.lang.Iterable<IResourceDescription> descriptions) |
protected |
ResourceDescriptionsData(java.util.Map<org.eclipse.emf.common.util.URI,IResourceDescription> resourceDescriptionMap,
java.util.Map<QualifiedName,java.lang.Object> lookupMap) |
Modifier and Type | Method and Description |
---|---|
void |
addDescription(org.eclipse.emf.common.util.URI uri,
IResourceDescription newDescription) |
ResourceDescriptionsData |
copy() |
protected java.util.Map<QualifiedName,java.lang.Object> |
copyLookupMap() |
java.lang.Iterable<IResourceDescription> |
getAllResourceDescriptions() |
java.util.Set<org.eclipse.emf.common.util.URI> |
getAllURIs() |
java.lang.Iterable<IEObjectDescription> |
getExportedObjects(org.eclipse.emf.ecore.EClass type,
QualifiedName qualifiedName,
boolean ignoreCase) |
java.lang.Iterable<IEObjectDescription> |
getExportedObjectsByObject(org.eclipse.emf.ecore.EObject object) |
IResourceDescription |
getResourceDescription(org.eclipse.emf.common.util.URI uri) |
protected java.lang.Iterable<IResourceDescription> |
getSelectables() |
protected void |
registerDescription(IResourceDescription description,
java.util.Map<QualifiedName,java.lang.Object> target) |
void |
removeDescription(org.eclipse.emf.common.util.URI uri) |
getExportedObjects, getExportedObjectsByType, isEmpty
public ResourceDescriptionsData(java.lang.Iterable<IResourceDescription> descriptions)
protected ResourceDescriptionsData(java.util.Map<org.eclipse.emf.common.util.URI,IResourceDescription> resourceDescriptionMap, java.util.Map<QualifiedName,java.lang.Object> lookupMap)
public ResourceDescriptionsData copy()
protected java.util.Map<QualifiedName,java.lang.Object> copyLookupMap()
public java.lang.Iterable<IResourceDescription> getAllResourceDescriptions()
public IResourceDescription getResourceDescription(org.eclipse.emf.common.util.URI uri)
public void removeDescription(org.eclipse.emf.common.util.URI uri)
public java.lang.Iterable<IEObjectDescription> getExportedObjects(org.eclipse.emf.ecore.EClass type, QualifiedName qualifiedName, boolean ignoreCase)
getExportedObjects
in interface ISelectable
getExportedObjects
in class AbstractCompoundSelectable
null
.public java.lang.Iterable<IEObjectDescription> getExportedObjectsByObject(org.eclipse.emf.ecore.EObject object)
getExportedObjectsByObject
in interface ISelectable
getExportedObjectsByObject
in class AbstractCompoundSelectable
null
.protected java.lang.Iterable<IResourceDescription> getSelectables()
getSelectables
in class AbstractCompoundSelectable
public java.util.Set<org.eclipse.emf.common.util.URI> getAllURIs()
public void addDescription(org.eclipse.emf.common.util.URI uri, IResourceDescription newDescription)
protected void registerDescription(IResourceDescription description, java.util.Map<QualifiedName,java.lang.Object> target)