Interface ValueDomain
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
BooleanDomain
,BooleanDomainSubset<S>
,DateDomain
,DateDomainSubset<S>
,DescribedDomainSubset<S,D>
,DurationDomain
,DurationDomainSubset<S>
,EnumeratedDomainSubset<S,D>
,IntegerDomain
,IntegerDomainSubset<S>
,NumberDomain
,NumberDomainSubset<S,D>
,StringDomain
,StringDomainSubset<S>
,StringEnumeratedDomainSubset
,TimeDomain
,TimeDomainSubset<S,D>
,TimePeriodDomain
,TimePeriodDomainSubset<S>
,ValueDomainSubset<S,D>
- All Known Implementing Classes:
EntireBooleanDomainSubset
,EntireDateDomainSubset
,EntireDomainSubset
,EntireDurationDomainSubset
,EntireIntegerDomainSubset
,EntireNumberDomainSubset
,EntireStringDomainSubset
,EntireTimeDomainSubset
,EntireTimePeriodDomainSubsets
,EntireTimePeriodDomainSubsets.AnyPeriodDomainSubset
,EntireTimePeriodDomainSubsets.DaysDomainSubset
,EntireTimePeriodDomainSubsets.MonthsDomainSubset
,EntireTimePeriodDomainSubsets.QuartersDomainSubset
,EntireTimePeriodDomainSubsets.SemestersDomainSubset
,EntireTimePeriodDomainSubsets.WeeksDomainSubset
,EntireTimePeriodDomainSubsets.YearsDomainSubset
,NullDomain
,StringCodeList
public interface ValueDomain extends Serializable
A standard unrestricted VTL valuedomain as defined in VTL specification.- Author:
- Valentino Pinna
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getVarName()
boolean
isAssignableFrom(ValueDomain other)
Check if a value of a given ValueDomain can be converted to a value of this ValueDomainboolean
isComparableWith(ValueDomain other)
Check if a value of a given ValueDomain can be compared to a value of this ValueDomain
-
-
-
Method Detail
-
isAssignableFrom
boolean isAssignableFrom(ValueDomain other)
Check if a value of a given ValueDomain can be converted to a value of this ValueDomain- Parameters:
other
- the otherValueDomain
- Returns:
- true if the conversion is possible
-
isComparableWith
boolean isComparableWith(ValueDomain other)
Check if a value of a given ValueDomain can be compared to a value of this ValueDomain- Parameters:
other
- the otherValueDomain
- Returns:
- true if the comparison is possible
-
getVarName
String getVarName()
- Returns:
- the default variable name for
DataStructureComponent
s of this ValueDomain
-
-