Package com.aquima.interactions.profile
Interface IDomain
- All Superinterfaces:
IConvertable
,IListValue
,IValue
,Serializable
- All Known Implementing Classes:
Domain
This interface defines the set of values (domain) that are valid for an attribute. This domain will hold at most all
values from the domain definition, but this domain may also be empty when there is no value valid in the current
context.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the definition of this domain.This method returns the internal domain value identified by the given object value.Methods inherited from interface com.aquima.interactions.foundation.convert.IConvertable
booleanValue, dateValue, doubleValue, getValue, integerValue, longValue, stringValue
Methods inherited from interface com.aquima.interactions.foundation.IListValue
getSortedValues, getValueAt, getValueCount, getValues, isEmpty, isUniqueSet
Methods inherited from interface com.aquima.interactions.foundation.IValue
contains, duplicate, getDataType, isRangeValue, isSingleValue, isUnknown, toListValue, toRangeValue, toSingleValue
-
Method Details
-
getDefinition
IDomainDefinition getDefinition()This method returns the definition of this domain. The domain definition contains additional information like the name and the complete set of values that may be valid.- Returns:
- The definition of this domain.
-
getValue
This method returns the internal domain value identified by the given object value. The value passed to this method may be a string containing the short value of the requested domain value, or a IPrimitiveValue containing the short value.- Parameters:
objValue
- The value for which the domain value is requested.- Returns:
- The domain value for the specified value.
-