|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.tuwien.ifs.somtoolbox.reportgenerator.SemanticNode
public class SemanticNode
Field Summary | |
---|---|
ArrayList<SemanticClass> |
Classes
|
String |
Description
|
Boolean |
empty
|
int |
NordSouth
|
String |
NSLocationCell
|
private int |
Orientation
|
int[] |
realCoordinates
|
int |
Region
|
String |
SpecialLocation
|
String |
WELocationCell
|
int |
WestEast
|
Constructor Summary | |
---|---|
SemanticNode()
|
Method Summary | |
---|---|
void |
addClass(SemanticClass sClass)
|
Boolean |
containsNoClasses()
|
private String |
getDegree(int d)
Returns the String representation of a SemanticNodes Coordinates FIXME: refactor this |
private String |
getOrientation(int i)
|
private String |
getShortForm(String a,
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(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(String Direction)
This method is used for improving the quality of description of the semantic node. |
void |
setWELocationCell(String l)
|
void |
setWestEastDegree(int d)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String WELocationCell
public String NSLocationCell
public int NordSouth
public int WestEast
public int Region
public String SpecialLocation
public int[] realCoordinates
public Boolean empty
private int Orientation
public String Description
public ArrayList<SemanticClass> Classes
Constructor Detail |
---|
public SemanticNode()
Method Detail |
---|
public void setNorthSouthDegree(int d)
public void setWestEastDegree(int d)
public void setWELocationCell(String l)
public void setNSLocationCell(String l)
public void setRegion(int c)
public void setSpecialLocation(String Direction)
public void setRealCoordinates(int x, int y)
public void setcontainsNoClasses(boolean is)
public void addClass(SemanticClass sClass)
public void setDescription()
public Boolean containsNoClasses()
public void setOrientation(int i)
private String getOrientation(int i)
private String getDegree(int d)
private String getShortForm(String a, String b)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |