Package com._1c.g5.v8.dt.core.platform
Interface IExternalObjectProject
-
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable
,IDependentProject
,IV8Project
public interface IExternalObjectProject extends IDependentProject
IExternalObjectProject
represents handle of V8 external objects project. External objects project may contain one or more external objects - external data processors or external reports.- See Also:
IExternalObjectProjectManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MdObject
getExternalObject(String name, org.eclipse.emf.ecore.EClass type)
Returns external object with the provided name and type contained in this external objects project.Collection<MdObject>
getExternalObjects()
Returns all external objects contained in this external objects project.<T extends MdObject>
Collection<T>getExternalObjects(Class<T> externalObjectType)
Returns external objects of the provided type contained in this external objects project.Collection<MdObject>
getExternalObjects(Predicate<MdObject> filter)
Returns external objects contained in this external objects project, filtered by the providedfilter
.-
Methods inherited from interface com._1c.g5.v8.dt.core.platform.IDependentProject
getParent, getParentProject
-
Methods inherited from interface com._1c.g5.v8.dt.core.platform.IV8Project
getCompatibilityMode, getDefaultLanguage, getDtProject, getLanguages, getProject, getScriptVariant, getUsePurposes, getVersion
-
-
-
-
Method Detail
-
getExternalObject
MdObject getExternalObject(String name, org.eclipse.emf.ecore.EClass type)
Returns external object with the provided name and type contained in this external objects project. May returnnull
.- Parameters:
name
- the external object name, cannot benul
type
- the external objecttype
, cannot benull
- Returns:
- the external object with the provided name and type or
null
if not found
-
getExternalObjects
Collection<MdObject> getExternalObjects()
Returns all external objects contained in this external objects project. The returned collection is immutable.- Returns:
- all external objects, containing in this project, never
null
-
getExternalObjects
Collection<MdObject> getExternalObjects(Predicate<MdObject> filter)
Returns external objects contained in this external objects project, filtered by the providedfilter
. The returned collection is immutable.- Returns:
- all matching external objects, containing in this project, never
null
-
getExternalObjects
<T extends MdObject> Collection<T> getExternalObjects(Class<T> externalObjectType)
Returns external objects of the provided type contained in this external objects project. The returned collection is immutable.- Parameters:
externalObjectType
- a type of external objects, cannot benull
- Returns:
- all external objects of the provided type, containing in this project, never
null
-
-