public class RelWert extends Entity<RelWert> implements Invertible<RelWert>, RelWertFolge
praseable catalog name in languge... .."de" .."symbolic" / \ numeric value / \ \ O "oben"="top" ^ +1 M "mittig"="middle" - 0 U "unten"="bottom" v -1
Modifier and Type | Field and Description |
---|---|
static EntityCatalog<RelWert> |
catalog
Catalog for RelWert by names.
|
static RelWert |
M |
protected int |
numericValue
The numeric value -1/0/1 for U/M/O.
|
static RelWert |
O |
static RelWert |
U |
documentations
Modifier and Type | Method and Description |
---|---|
RelWert |
firstRelWert()
Any RelWertFolge is its own "first value" if it is seen as a RelWertFolge.
|
int |
getArrayIndex()
Returns 0/1/2 for U/M/O.
|
int |
getNumericValue()
Returns -1/0/1 for U/M/O.
|
RelWert |
inv()
Return the inverse of the RelWert.
|
RelWert |
lastRelWert()
Any RelWertFolge is its own "last value" if it is seen as a RelWertFolge.
|
int |
length()
Seen as a RelWertFolge, a single RelWert has the length==1.
|
RelWert |
neither(RelWert other)
Return the third value, which is neither this, nor the other.
|
String |
toString()
Returns the Geman name, "O", "M", or "U".
|
addName, dump, dump, getCatalog, getDocumentation, getDocumentation, getDocumentations, getName, getName, getNames, getParser, getParser, setDocumentation, toString
public static final EntityCatalog<RelWert> catalog
public static final RelWert U
public static final RelWert M
public static final RelWert O
protected int numericValue
public int getNumericValue()
public int getArrayIndex()
public RelWert neither(RelWert other)
public String toString()
public RelWert inv()
M U O M O U
inv
in interface Invertible<RelWert>
public int length()
length
in interface RelWertFolge
public RelWert firstRelWert()
firstRelWert
in interface RelWertFolge
public RelWert lastRelWert()
lastRelWert
in interface RelWertFolge