R - typepublic class DataTypeSituation<R extends Comparable<R>> extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
addInterval(Datatype<R> interval,
DepSet dep)
add restrictions [POS]INT to intervals
|
boolean |
checkCompatibleValue(DataTypeSituation<?> other) |
boolean |
checkPNTypeClash() |
DepSet |
getNType() |
DepSet |
getPType() |
Datatype<?> |
getType() |
boolean |
hasNType()
check if type is present negatively in the node
|
boolean |
hasPType()
check if type is present positively in the node
|
boolean |
isSubType(DataTypeSituation<?> other) |
void |
setNType(DepSet t) |
void |
setPType(DepSet type)
set the precense of the PType
|
String |
toString() |
public Datatype<?> getType()
public boolean addInterval(Datatype<R> interval, DepSet dep)
interval - intervaldep - deppublic boolean checkPNTypeClash()
public boolean checkCompatibleValue(DataTypeSituation<?> other)
other - otherpublic boolean hasPType()
public boolean hasNType()
public void setPType(DepSet type)
type - typepublic void setNType(DepSet t)
t - depset for negative typepublic DepSet getPType()
public DepSet getNType()
public boolean isSubType(DataTypeSituation<?> other)
other - situation to testCopyright © 2016 The University of Manchester. All rights reserved.