Interface ObjectTypeFilter<TYPE extends ObjectType,​TARGET>

  • All Known Implementing Classes:
    AbstractObjectTypeFilter

    public interface ObjectTypeFilter<TYPE extends ObjectType,​TARGET>
    Validates ObjectType instances in the context of the TARGET instance. The TARGET type is implementation dependent. Filters only valid instances.
    • Method Detail

      • filterObjectTypes

        java.util.Collection<TYPE> filterObjectTypes​(java.util.Collection<TYPE> types,
                                                     TARGET target)
        Filters input collection of ObjectTypes. Only valid ObjectTypes should be returned.