Package com.aquima.interactions.rule
Class ValueType
java.lang.Object
com.aquima.interactions.rule.ValueType
This class is used to identify the type an inference rule will return for the attribute it inferences a value for.
- Since:
- 6.1
- Author:
- O. Kerpershoek
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the data type for the value.This method returns the entity type of the value.boolean
This method returns a boolean indicating if the value is a list.toString()
-
Constructor Details
-
ValueType
Constructs the class with the required parameters. This constructor should be used for non-entity target attributes.- Parameters:
type
- The data type of the value.multivalue
- Boolean indicating if the value is a list.
-
ValueType
Constructs the class with the required parameters. This constructor should be used for entity target attributes.- Parameters:
type
- The data type of the value.multivalue
- Boolean indicating if the value is a list.entityType
- The name of the entity of the value.
-
-
Method Details
-
getDataType
This method returns the data type for the value.- Returns:
- the data type for the value.
-
isMultivalue
public boolean isMultivalue()This method returns a boolean indicating if the value is a list.- Returns:
- a boolean indicating if the value is a list.
-
getEntityType
This method returns the entity type of the value.- Returns:
- the entity type of the value.
-
toString
-