SuperClassCriterium

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jagatoo.util.classes
Class SuperClassCriterium

    java.lang.Object
      org.jagatoo.util.classes.SuperClassCriterium

All Implemented Interfaces:
  ClassSearchCriterium

    public class SuperClassCriterium

extends java.lang.Object
implements ClassSearchCriterium

This is a ClassSearcher Criterium, that ensures, that checked class is a sub type of a certain super class.

Author:
  Marvin Froehlich (aka Qudus)

Constructor Summary
`SuperClassCriterium(java.lang.Class<?> supa, boolean allowAbstract)`

Method Summary
`boolean` | `check(java.lang.Class<?> clazz)` Tests the given Class for a specific constraint.
`java.lang.Class<?>` | `getSuper()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SuperClassCriterium

    public SuperClassCriterium(java.lang.Class<?> supa,
                               boolean allowAbstract)

Method Detail

### getSuper

    public java.lang.Class<?> getSuper()

### check

    public boolean check(java.lang.Class<?> clazz)

  Tests the given Class for a specific constraint.

  Specified by:
    `check` in interface `ClassSearchCriterium`
  Parameters:
    `clazz` - the class
  Returns:
    true, if the test is successful

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD