public class IsA extends KoryphePredicate<Object>
| Constructor and Description |
|---|
IsA()
Default constructor - used for serialisation.
|
IsA(Class<?> type)
Create an
IsA validate that tests for instances of a given control Class. |
IsA(String type)
Create an
IsA validate that tests for instances of a given control class name. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getType() |
int |
hashCode() |
void |
setType(String type) |
boolean |
test(Object input)
Tests whether the argument supplied is an instance of the control class.
|
String |
toString() |
public IsA()
public IsA(Class<?> type)
IsA validate that tests for instances of a given control Class.type - Control class.public IsA(String type)
IsA validate that tests for instances of a given control class name.type - Name of the control class.public void setType(String type)
type - Name of the control class.public String getType()
public boolean test(Object input)
input - Object to test.public boolean equals(Object obj)
equals in class KoryphePredicate<Object>public int hashCode()
hashCode in class KoryphePredicate<Object>Copyright © 2021. All rights reserved.