public class Reservation extends com.ibm.json.java.JSONObject implements java.io.Serializable, IMXReservation
Constructor and Description |
---|
Reservation()
This constructor is used for totals only.
|
Reservation(IMXResource resource,
IMXActivity activity)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(java.lang.String prop)
Get Boolean will return true, if the data is a number and != 0, or if the data is a String and starts with
Y or T, of if the data is actually a boolean it will return the boolean value
|
java.util.Date |
getDate(java.lang.String prop) |
double |
getDouble(java.lang.String prop) |
float |
getFloat(java.lang.String prop) |
int |
getInt(java.lang.String prop) |
long |
getLong(java.lang.String prop) |
IMXActivity |
getMXActivity() |
IMXResource |
getMXResource() |
java.lang.Object |
getProperty(java.lang.String prop) |
java.util.Collection<java.lang.String> |
getPropertyNames() |
java.lang.String |
getString(java.lang.String prop) |
java.lang.String |
getString(java.lang.String prop,
java.lang.String defValue) |
java.lang.Object |
setProperty(java.lang.String prop,
java.lang.Object value) |
java.lang.Object |
setProperty(java.lang.String prop,
java.lang.Object value,
boolean ignoreChangeTracking) |
isValidObject, isValidType, parse, parse, parse, put, serialize, serialize, serialize, serialize, serialize, serialize, toString
public Reservation()
public Reservation(IMXResource resource, IMXActivity activity)
resource
- public java.lang.Object getProperty(java.lang.String prop)
getProperty
in interface IMXPropertyGetterSetter
IMXPropertyGetterSetter.getProperty(java.lang.String)
public int getInt(java.lang.String prop)
getInt
in interface IMXPropertyGetterSetter
IMXPropertyGetterSetter.getInt(java.lang.String)
public long getLong(java.lang.String prop)
getLong
in interface IMXPropertyGetterSetter
IMXPropertyGetterSetter.getLong(java.lang.String)
public float getFloat(java.lang.String prop)
getFloat
in interface IMXPropertyGetterSetter
IMXPropertyGetterSetter.getFloat(java.lang.String)
public double getDouble(java.lang.String prop)
getDouble
in interface IMXPropertyGetterSetter
IMXPropertyGetterSetter.getDouble(java.lang.String)
public boolean getBoolean(java.lang.String prop)
IMXPropertyGetterSetter
getBoolean
in interface IMXPropertyGetterSetter
IMXPropertyGetterSetter.getBoolean(java.lang.String)
public java.lang.String getString(java.lang.String prop)
getString
in interface IMXPropertyGetterSetter
IMXPropertyGetterSetter.getString(java.lang.String)
public java.lang.String getString(java.lang.String prop, java.lang.String defValue)
getString
in interface IMXPropertyGetterSetter
IMXPropertyGetterSetter.getString(java.lang.String, java.lang.String)
public java.util.Date getDate(java.lang.String prop)
getDate
in interface IMXPropertyGetterSetter
IMXPropertyGetterSetter.getDate(java.lang.String)
public java.lang.Object setProperty(java.lang.String prop, java.lang.Object value)
setProperty
in interface IMXPropertyGetterSetter
IMXPropertyGetterSetter.setProperty(java.lang.String, java.lang.Object)
public java.lang.Object setProperty(java.lang.String prop, java.lang.Object value, boolean ignoreChangeTracking)
setProperty
in interface IMXPropertyGetterSetter
public IMXActivity getMXActivity()
getMXActivity
in interface IMXReservation
IMXReservation.getMXActivity()
public IMXResource getMXResource()
getMXResource
in interface IMXReservation
IMXReservation.getMXResource()
public java.util.Collection<java.lang.String> getPropertyNames()
getPropertyNames
in interface IMXPropertyGetterSetter