Package com.clivern.decoy.constraint
Class Type
- java.lang.Object
-
- com.clivern.decoy.constraint.Type
-
public class Type extends java.lang.ObjectType Class
-
-
Constructor Summary
Constructors Constructor Description Type(java.lang.Object type)Class Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.ArrayList<java.lang.String>getEnumValues()Get Enum Valuesjava.util.ArrayList<java.lang.String>getTypes()Get Typesjava.lang.BooleaninTypes(java.lang.String type)Check if type on the types list
-
-
-
Method Detail
-
getTypes
public java.util.ArrayList<java.lang.String> getTypes()
Get Types- Returns:
- The types list
-
inTypes
public java.lang.Boolean inTypes(java.lang.String type)
Check if type on the types list- Parameters:
type- the type- Returns:
- Whether type on the types list
-
getEnumValues
public java.util.ArrayList<java.lang.String> getEnumValues()
Get Enum Values- Returns:
- the list of values allowed
-
-