Interface BooleanDomainSubset<S extends BooleanDomainSubset<S>>
-
- All Superinterfaces:
BooleanDomain
,Serializable
,ValueDomain
,ValueDomainSubset<S,BooleanDomain>
- All Known Implementing Classes:
EntireBooleanDomainSubset
public interface BooleanDomainSubset<S extends BooleanDomainSubset<S>> extends ValueDomainSubset<S,BooleanDomain>, BooleanDomain
Representation of a subset of the VTL "Boolean" domain.- Author:
- Valentino Pinna
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ScalarValue<?,?,S,BooleanDomain>
cast(ScalarValue<?,?,?,?> value)
Casts the given ScalarValue to this ValueDomainSubsetdefault boolean
isAssignableFrom(ValueDomain other)
Check if a value of a given ValueDomain can be converted to a value of this ValueDomaindefault boolean
isComparableWith(ValueDomain other)
Check if a value of a given ValueDomain can be compared to a value of this ValueDomain-
Methods inherited from interface it.bancaditalia.oss.vtl.model.data.ValueDomain
getVarName
-
Methods inherited from interface it.bancaditalia.oss.vtl.model.data.ValueDomainSubset
equals, getCriterion, getParentDomain, hashCode
-
-
-
-
Method Detail
-
isComparableWith
default boolean isComparableWith(ValueDomain other)
Description copied from interface:ValueDomain
Check if a value of a given ValueDomain can be compared to a value of this ValueDomain- Specified by:
isComparableWith
in interfaceValueDomain
- Parameters:
other
- the otherValueDomain
- Returns:
- true if the comparison is possible
-
cast
ScalarValue<?,?,S,BooleanDomain> cast(ScalarValue<?,?,?,?> value)
Description copied from interface:ValueDomainSubset
Casts the given ScalarValue to this ValueDomainSubset- Specified by:
cast
in interfaceValueDomainSubset<S extends BooleanDomainSubset<S>,BooleanDomain>
- Parameters:
value
- theScalarValue
to cast- Returns:
- the casted
ScalarValue
-
isAssignableFrom
default boolean isAssignableFrom(ValueDomain other)
Description copied from interface:ValueDomain
Check if a value of a given ValueDomain can be converted to a value of this ValueDomain- Specified by:
isAssignableFrom
in interfaceValueDomain
- Parameters:
other
- the otherValueDomain
- Returns:
- true if the conversion is possible
-
-