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)
Type
isInstanceOf
in interface Type
public boolean isAssignableValue(Object value)
Type
isAssignableValue
in interface Type
public boolean conformsTo(Type t)
Type
t
accordingly to FEEL DMN specification 10.3.2.9.2 Type ConformanceconformsTo
in interface Type
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.