public class SemanticNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.ArrayList<SemanticClass> |
Classes |
java.lang.String |
Description |
java.lang.Boolean |
empty |
int |
NordSouth |
java.lang.String |
NSLocationCell |
private int |
Orientation |
int[] |
realCoordinates |
int |
Region |
java.lang.String |
SpecialLocation |
java.lang.String |
WELocationCell |
int |
WestEast |
Constructor and Description |
---|
SemanticNode() |
Modifier and Type | Method and Description |
---|---|
void |
addClass(SemanticClass sClass) |
java.lang.Boolean |
containsNoClasses() |
private java.lang.String |
getDegree(int d)
Returns the String representation of a SemanticNodes Coordinates
FIXME: refactor this |
private java.lang.String |
getOrientation(int i) |
private java.lang.String |
getShortForm(java.lang.String a,
java.lang.String b)
Gets a short form for directions
FIXME: refactor this |
void |
setcontainsNoClasses(boolean is) |
void |
setDescription()
Gives a semantic Explanation of the Units location @
|
void |
setNorthSouthDegree(int d) |
void |
setNSLocationCell(java.lang.String l) |
void |
setOrientation(int i)
Sets the Orientation 1= North of Middle, 2 = South, 3 = West, 4= east of middle
FIXME: use constancts for this |
void |
setRealCoordinates(int x,
int y)
Sets the Nodes Coordinates to the given values
|
void |
setRegion(int c) |
void |
setSpecialLocation(java.lang.String Direction)
This method is used for improving the quality of description of the semantic node.
|
void |
setWELocationCell(java.lang.String l) |
void |
setWestEastDegree(int d) |
public java.lang.String WELocationCell
public java.lang.String NSLocationCell
public int NordSouth
public int WestEast
public int Region
public java.lang.String SpecialLocation
public int[] realCoordinates
public java.lang.Boolean empty
private int Orientation
public java.lang.String Description
public java.util.ArrayList<SemanticClass> Classes
public void setNorthSouthDegree(int d)
public void setWestEastDegree(int d)
public void setWELocationCell(java.lang.String l)
public void setNSLocationCell(java.lang.String l)
public void setRegion(int c)
public void setSpecialLocation(java.lang.String Direction)
public void setRealCoordinates(int x, int y)
public void setcontainsNoClasses(boolean is)
public void addClass(SemanticClass sClass)
public void setDescription()
public java.lang.Boolean containsNoClasses()
public void setOrientation(int i)
private java.lang.String getOrientation(int i)
private java.lang.String getDegree(int d)
private java.lang.String getShortForm(java.lang.String a, java.lang.String b)