kotkabeans
Class Space
java.lang.Object
|
+--kotkabeans.Space
- public class Space
- extends java.lang.Object
implements Event-object used manipulating courses eventgroups.
|
Constructor Summary |
Space()
|
Space(int id)
|
Space(int id,
java.lang.String code)
|
Space(int id,
java.lang.String code,
int seats)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
spaceID
protected int spaceID
code
protected java.lang.String code
organisationID
protected java.lang.String organisationID
seats
protected int seats
Space
public Space()
Space
public Space(int id)
Space
public Space(int id,
java.lang.String code)
Space
public Space(int id,
java.lang.String code,
int seats)
setSpaceID
public void setSpaceID(int id)
setCode
public void setCode(java.lang.String code)
setSeats
public void setSeats(int seats)
setOrganisationID
public void setOrganisationID(java.lang.String oid)
getCode
public java.lang.String getCode()
getSeats
public int getSeats()
getSpaceID
public int getSpaceID()
getOrganisationID
public java.lang.String getOrganisationID()
exists
public static boolean exists(DB db,
java.lang.String code)
throws java.lang.Exception
java.lang.Exception
exists
public static boolean exists(java.lang.String code)
throws java.lang.Exception
java.lang.Exception
save
public void save(DB db)
throws java.lang.Exception
java.lang.Exception
save
public void save()
throws java.lang.Exception
java.lang.Exception