Package org.kie.dmn.feel.lang.types
Class GenFnType
- java.lang.Object
-
- org.kie.dmn.feel.lang.types.GenFnType
-
- All Implemented Interfaces:
SimpleType,Type
public class GenFnType extends Object implements SimpleType
-
-
Field Summary
-
Fields inherited from interface org.kie.dmn.feel.lang.SimpleType
ANY, BOOLEAN, CONTEXT, DATE, DATE_AND_TIME, DAYS_AND_TIME_DURATION, FUNCTION, LIST, NUMBER, STRING, TIME, YEARS_AND_MONTHS_DURATION
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconformsTo(Type t)Check if this type does Conform to specified typetaccordingly to FEEL DMN specification 10.3.2.9.2 Type ConformanceStringgetName()booleanisAssignableValue(Object value)Check if the value passed as parameter can be assigned to this type.booleanisInstanceOf(Object o)Definition of `instance of` accordingly to FEEL specifications Table 49.
-
-
-
Method Detail
-
isInstanceOf
public boolean isInstanceOf(Object o)
Description copied from interface:TypeDefinition of `instance of` accordingly to FEEL specifications Table 49.- Specified by:
isInstanceOfin interfaceType- Returns:
- if o is instance of the type represented by this type. If the parameter is null, returns false.
-
isAssignableValue
public boolean isAssignableValue(Object value)
Description copied from interface:TypeCheck if the value passed as parameter can be assigned to this type.- Specified by:
isAssignableValuein interfaceType- Returns:
- if value can be assigned to the type represented by this type. If the parameter is null, returns true.
-
conformsTo
public boolean conformsTo(Type t)
Description copied from interface:TypeCheck if this type does Conform to specified typetaccordingly to FEEL DMN specification 10.3.2.9.2 Type Conformance- Specified by:
conformsToin interfaceType- Returns:
- if this type does conform to specified type.
-
-