Package com._1c.g5.aef2.scenes
Interface ComponentSearch.IIdentifierHost
-
- All Known Implementing Classes:
CommonAttributeContentTreeComponent,ConfigurationStandaloneContentComponent,DefinitionDrivenComponent,DocumentEditorPostingPageComponent,DtGranularEditorPageSectionComponent,EventHandlerCollectionComponent,ExchangePlanContentComponent,ExtendedTypeDescriptionComponent,NavigatorTreeComponent,SectionDefinitionComponent,StandardObjectsTreeComponent,TypeDescriptionComponent,TypeDescriptionDialogComponent
- Enclosing class:
- ComponentSearch
public static interface ComponentSearch.IIdentifierHostAn entity capable of returning components by identifiers and providing identifiers for components.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IComponent<?>getComponent(Object id)Returns a component with the specified identifier ornullif no component with such identifier is known to the host.ObjectgetId(IComponent<?> component)Returns an identifier for the specified component ornullif not applicable
-
-
-
Method Detail
-
getComponent
IComponent<?> getComponent(Object id)
Returns a component with the specified identifier ornullif no component with such identifier is known to the host.- Parameters:
id- the identifier- Returns:
- a component with the specified identifier or
nullif not found
-
getId
Object getId(IComponent<?> component)
Returns an identifier for the specified component ornullif not applicable- Parameters:
component- the component to obtain the identifier for- Returns:
- an identifier for the specified component or
nullif not applicable
-
-