public class GenFnType extends Object implements SimpleType
ANY, BOOLEAN, CONTEXT, DATE, DATE_AND_TIME, DAYS_AND_TIME_DURATION, FUNCTION, LIST, NUMBER, STRING, TIME, YEARS_AND_MONTHS_DURATION| Constructor and Description |
|---|
GenFnType(List<Type> argsGen,
Type returnGen) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
conformsTo(Type t)
Check if this type does Conform to specified type
t accordingly to FEEL DMN specification 10.3.2.9.2 Type Conformance |
String |
getName() |
boolean |
isAssignableValue(Object value)
Check if the value passed as parameter can be assigned to this type.
|
boolean |
isInstanceOf(Object o)
Definition of `instance of` accordingly to FEEL specifications Table 49.
|
public boolean isInstanceOf(Object o)
TypeisInstanceOf in interface Typepublic boolean isAssignableValue(Object value)
TypeisAssignableValue in interface Typepublic boolean conformsTo(Type t)
Typet accordingly to FEEL DMN specification 10.3.2.9.2 Type ConformanceconformsTo in interface TypeCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.