Package com._1c.g5.v8.dt.platform
Interface IEObjectProvider
-
- All Known Implementing Classes:
AbstractEObjectProvider
public interface IEObjectProvider
Provides information describing instances of someEClass
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IEObjectProvider.Registry
Registry mappingEClass
toIEObjectProvider
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends org.eclipse.emf.ecore.EObject>
TcreateProxy(String name)
Creates proxy by the object name.org.eclipse.emf.ecore.EClass
getEClass()
org.eclipse.xtext.resource.IEObjectDescription
getEObjectDescription(String name)
Returns EObject description associated with specified name.Iterable<org.eclipse.xtext.resource.IEObjectDescription>
getEObjectDescriptions(com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter)
Returns EObject descriptions provided by this instance possibly filtered usingfilter
.<T extends org.eclipse.emf.ecore.EObject>
TgetProxy(String name)
Creates proxy by the object nameorg.eclipse.emf.common.util.URI
getUri(String name)
GetsURI
by the object name.
-
-
-
Method Detail
-
getEClass
org.eclipse.emf.ecore.EClass getEClass()
- Returns:
EClass
-
getUri
org.eclipse.emf.common.util.URI getUri(String name)
GetsURI
by the object name.- Parameters:
name
- object name.- Returns:
URI
corresponding to name.- Throws:
IllegalArgumentException
- if URI for name can't be obtained.
-
createProxy
<T extends org.eclipse.emf.ecore.EObject> T createProxy(String name)
Creates proxy by the object name.- Parameters:
name
- object name.- Returns:
- created proxy.
- Throws:
IllegalArgumentException
- if proxy for name can't be created.
-
getProxy
<T extends org.eclipse.emf.ecore.EObject> T getProxy(String name)
Creates proxy by the object name- Parameters:
name
- object name- Returns:
- created proxy or
null
if proxy wasn't created
-
getEObjectDescriptions
Iterable<org.eclipse.xtext.resource.IEObjectDescription> getEObjectDescriptions(com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter)
Returns EObject descriptions provided by this instance possibly filtered usingfilter
.- Parameters:
filter
-Predicate
used to filter instances ofIEObjectDescription
. May benull
.- Returns:
Iterable
ofIEObjectDescription
filtered usingfilter
-
getEObjectDescription
org.eclipse.xtext.resource.IEObjectDescription getEObjectDescription(String name)
Returns EObject description associated with specified name.- Parameters:
name
- object name
-
-