Package jadex.base
Class ModelFileFilter
- java.lang.Object
- 
- jadex.base.ModelFileFilter
 
- 
- All Implemented Interfaces:
- IAsyncFilter
 
 public class ModelFileFilter extends java.lang.Object implements IAsyncFilter Filter for Jadex component models. Is so complicated because it has to work locally and must be transferable.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface jadex.commons.IAsyncFilterIAsyncFilter.AlwaysFilter<E>, IAsyncFilter.NeverFilter<E>
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected booleanallThe all selected flag.protected IExternalAccessextaThe external access.protected java.util.Map<java.net.URL,IResourceIdentifier>ridsThe resource identifiers of the tree's root entries.- 
Fields inherited from interface jadex.commons.IAsyncFilterALWAYS, NEVER
 
- 
 - 
Constructor SummaryConstructors Constructor Description ModelFileFilter()Create a new filter.ModelFileFilter(boolean all, java.util.Map<java.net.URL,IResourceIdentifier> rids, IExternalAccess exta)Create a new filter.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Boolean>filter(java.lang.Object obj)Test if object is accepted by filter.IExternalAccessgetExternalAccess()Get the external access.java.util.Map<java.net.URL,IResourceIdentifier>getResourceIdentifiers()Get the resource identifiers for the root path entries.booleanisAll()Get the all.voidsetAll(boolean all)Set the all.voidsetExternalAccess(IExternalAccess exta)Set the external access.voidsetResourceIdentifiers(java.util.Map<java.net.URL,IResourceIdentifier> rids)Set the resource identifiers for the root path entries.
 
- 
- 
- 
Field Detail- 
allprotected boolean all The all selected flag.
 - 
ridsprotected java.util.Map<java.net.URL,IResourceIdentifier> rids The resource identifiers of the tree's root entries.
 - 
extaprotected IExternalAccess exta The external access.
 
- 
 - 
Constructor Detail- 
ModelFileFilterpublic ModelFileFilter() Create a new filter.
 - 
ModelFileFilterpublic ModelFileFilter(boolean all, java.util.Map<java.net.URL,IResourceIdentifier> rids, IExternalAccess exta)Create a new filter.
 
- 
 - 
Method Detail- 
setAllpublic void setAll(boolean all) Set the all.- Parameters:
- all- The all to set.
 
 - 
isAllpublic boolean isAll() Get the all.- Returns:
- the all.
 
 - 
getResourceIdentifierspublic java.util.Map<java.net.URL,IResourceIdentifier> getResourceIdentifiers() Get the resource identifiers for the root path entries.
 - 
setResourceIdentifierspublic void setResourceIdentifiers(java.util.Map<java.net.URL,IResourceIdentifier> rids) Set the resource identifiers for the root path entries.
 - 
getExternalAccesspublic IExternalAccess getExternalAccess() Get the external access.- Returns:
- The external access.
 
 - 
setExternalAccesspublic void setExternalAccess(IExternalAccess exta) Set the external access.- Parameters:
- exta- The external acccess.
 
 - 
filterpublic IFuture<java.lang.Boolean> filter(java.lang.Object obj) Test if object is accepted by filter.- Specified by:
- filterin interface- IAsyncFilter
- Parameters:
- obj- The object to filter.
- Returns:
- True, if ok.
 
 
- 
 
-