@Override public CreationRequest<T> direction ( final boolean input, final boolean output ) { this.itemInformation.getIoDirections ().clear (); if ( input ) { this.itemInformation.getIoDirections ().add ( IODirection.INPUT ); } if ( output ) { this.itemInformation.getIoDirections ().add ( IODirection.OUTPUT ); } return this; }
@Override public CreationRequest<T> direction ( final boolean input, final boolean output ) { this.itemInformation.getIoDirections ().clear (); if ( input ) { this.itemInformation.getIoDirections ().add ( IODirection.INPUT ); } if ( output ) { this.itemInformation.getIoDirections ().add ( IODirection.OUTPUT ); } return this; }
public AbstractCreationRequest ( final Object component, final List<String> hierarchy ) { this.component = component; this.hierarchy = Collections.unmodifiableList ( new ArrayList<> ( hierarchy ) ); this.itemInformation = OsgiFactory.eINSTANCE.createItemInformation (); this.itemInformation.getHierarchy ().addAll ( this.hierarchy ); this.itemInformation.getIoDirections ().addAll ( IODirection.VALUES ); }
public AbstractCreationRequest ( final Object component, final List<String> hierarchy ) { this.component = component; this.hierarchy = Collections.unmodifiableList ( new ArrayList<> ( hierarchy ) ); this.itemInformation = OsgiFactory.eINSTANCE.createItemInformation (); this.itemInformation.getHierarchy ().addAll ( this.hierarchy ); this.itemInformation.getIoDirections ().addAll ( IODirection.VALUES ); }
private void processExporter ( final DataAccessExporter exporter ) { for ( final ItemExport export : exporter.getExports () ) { final String masterId = Items.makeMasterId ( export.getItem () ); final ItemInformation info = export.getItem ().getInformation (); final String description = info != null ? info.getDescription () : null; addAlias ( Names.makeName ( exporter ) + "/" + export.getExportName (), export.getExportName (), masterId, info.getIoDirections (), description ); } }
private void processExporter ( final DataAccessExporter exporter ) { for ( final ItemExport export : exporter.getExports () ) { final String masterId = Items.makeMasterId ( export.getItem () ); final ItemInformation info = export.getItem ().getInformation (); final String description = info != null ? info.getDescription () : null; addAlias ( Names.makeName ( exporter ) + "/" + export.getExportName (), export.getExportName (), masterId, info.getIoDirections (), description ); } }