Package org.kie.dmn.feel.lang
Interface Type
-
- All Known Subinterfaces:
CompositeType,SimpleType
- All Known Implementing Classes:
AliasFEELType,BuiltInType,BuiltInTypeSymbol,GenFnType,GenListType,JavaBackedType,MapBackedType
public interface TypeA type definition interface
-
-
Method Summary
All Methods Instance Methods Abstract 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 Conformancejava.lang.StringgetName()booleanisAssignableValue(java.lang.Object value)Check if the value passed as parameter can be assigned to this type.booleanisInstanceOf(java.lang.Object o)Definition of `instance of` accordingly to FEEL specifications Table 49.
-
-
-
Method Detail
-
getName
java.lang.String getName()
-
isInstanceOf
boolean isInstanceOf(java.lang.Object o)
Definition of `instance of` accordingly to FEEL specifications Table 49.- Parameters:
o-- Returns:
- if o is instance of the type represented by this type. If the parameter is null, returns false.
-
isAssignableValue
boolean isAssignableValue(java.lang.Object value)
Check if the value passed as parameter can be assigned to this type.- Parameters:
value-- Returns:
- if value can be assigned to the type represented by this type. If the parameter is null, returns true.
-
conformsTo
boolean conformsTo(Type t)
Check if this type does Conform to specified typetaccordingly to FEEL DMN specification 10.3.2.9.2 Type Conformance- Parameters:
t-- Returns:
- if this type does conform to specified type.
-
-