public final class Domain extends Object
For example:
| Modifier and Type | Method and Description |
|---|---|
static Domain |
all(Type type) |
Domain |
complement() |
boolean |
contains(Domain other) |
static Domain |
create(ValueSet values,
boolean nullAllowed) |
boolean |
equals(Object obj) |
Object |
getNullableSingleValue() |
Object |
getSingleValue() |
Type |
getType() |
ValueSet |
getValues() |
int |
hashCode() |
boolean |
includesNullableValue(Object value) |
Domain |
intersect(Domain other) |
boolean |
isAll() |
boolean |
isNone() |
boolean |
isNullableSingleValue() |
boolean |
isNullAllowed() |
boolean |
isOnlyNull() |
boolean |
isSingleValue() |
static Domain |
none(Type type) |
static Domain |
notNull(Type type) |
static Domain |
onlyNull(Type type) |
boolean |
overlaps(Domain other) |
static Domain |
singleValue(Type type,
Object value) |
Domain |
subtract(Domain other) |
String |
toString(ConnectorSession session) |
Domain |
union(Domain other) |
static Domain |
union(List<Domain> domains) |
public Type getType()
public ValueSet getValues()
public boolean isNullAllowed()
public boolean isNone()
public boolean isAll()
public boolean isSingleValue()
public boolean isNullableSingleValue()
public boolean isOnlyNull()
public Object getSingleValue()
public Object getNullableSingleValue()
public boolean includesNullableValue(Object value)
public boolean overlaps(Domain other)
public boolean contains(Domain other)
public Domain complement()
public String toString(ConnectorSession session)
Copyright © 2012-2016. All Rights Reserved.