Class DataValuePrimitiveType
java.lang.Object
com.aquima.interactions.portal.model.datatype.DataValueType
com.aquima.interactions.portal.model.datatype.DataValuePrimitiveType
Representation of an primitivetype.
- Since:
- 9.3
- Author:
- G. der Kinderen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a data primitive instance.createInstance
(IPrimitiveValue argument) Creates a data primitive instance that has a specific value.boolean
Returns the dataType of the primitive.int
hashCode()
toString()
Methods inherited from class com.aquima.interactions.portal.model.datatype.DataValueType
getAnnotation, getAnnotations, setAnnotation
-
Constructor Details
-
DataValuePrimitiveType
Creates a new instance.- Parameters:
dataType
- type the primitive, not null.
-
-
Method Details
-
getDataType
Returns the dataType of the primitive.- Returns:
- The dataType, never null.
-
createInstance
Creates a data primitive instance.- Specified by:
createInstance
in classDataValueType
- Returns:
- data primitive instance, never null.
-
createInstance
Creates a data primitive instance that has a specific value.- Parameters:
argument
- value of the primitive, can be null.- Returns:
- data primitive instance, never null.
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDataValueType
-
equals
- Overrides:
equals
in classDataValueType
-
toString
-