|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectttsolver.model.RoomLocation
public class RoomLocation
Room part of placement.
| Constructor Summary | |
|---|---|
RoomLocation(String id,
String name,
String bldgId,
int preference,
long size)
Constructor |
|
RoomLocation(String id,
String name,
String bldgId,
int preference,
long size,
long x,
long y)
Constructor |
|
| Method Summary | |
|---|---|
String |
getBuildingId()
Building id |
String |
getId()
Room id |
String |
getName()
Room name |
long |
getPosX()
X-position of the building |
long |
getPosY()
Y-position of the building |
int |
getPreference()
Room preference |
long |
getRoomSize()
Room size |
void |
setCoordinates(long x,
long y)
Position of the building |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RoomLocation(String id,
String name,
String bldgId,
int preference,
long size,
long x,
long y)
id - room idname - room namebldgId - building idpreference - soft preferencesize - room sizex - x-position of the buildingy - y-position of the building
public RoomLocation(String id,
String name,
String bldgId,
int preference,
long size)
id - room idname - room namebldgId - building idpreference - soft preferencesize - room size| Method Detail |
|---|
public String getId()
public String getBuildingId()
public String getName()
public int getPreference()
public long getRoomSize()
public void setCoordinates(long x,
long y)
public long getPosX()
public long getPosY()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||