Package ch.tocco.nice2.model.entity.api
Interface SelectorFactory
- All Known Implementing Classes:
GroovySelectorFactory
public interface SelectorFactory
-
Method Summary
-
Method Details
-
getId
String getId() -
createSelector
Creates an implementation of theSelector
interface based. The implementation is based on scripts defined in theselection
element of a relation model definition.- Parameters:
selectorType
- the selector type ) in this case "script:js"implementation
- the implementation of the method as a string- Returns:
- the
Selector
with implementedSelector.isSelected(ch.tocco.nice2.model.entity.api.RelationModel, ch.tocco.nice2.model.entity.api.EntityReference, ch.tocco.nice2.model.entity.api.EntityReference)
method
-