public class MXReservation extends ilog.views.gantt.model.general.IlvGeneralReservation implements IMXGanttCommonConstant, java.io.Serializable, IMXReservation
Modifier and Type | Class and Description |
---|---|
static class |
MXReservation.Factory |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_LOADDATAVALUE |
static java.lang.String |
PROPERTY_LOADLABORHRS |
static java.lang.String |
PROPERTY_LOADTOOLHRS |
static java.lang.String |
PROPERTY_LOADTOOLQTY |
static java.lang.String |
PROPERTY_LOADZONECAPACITY |
static java.lang.String |
PROPERTY_PMLOADDATAVALUE |
ACTIVITY_PROPERTY, RESOURCE_PROPERTY
PROPERTY_APPLINKAPP, PROPERTY_APPLINKINFO, PROPERTY_APPLINKOBJECT, PROPERTY_ASSIGNMENTID, PROPERTY_AUTHORIZED, PROPERTY_DATAGROUPNAME, PROPERTY_INITIALIZED, PROPERTY_MODIFIED, PROPERTY_OBJECTID, PROPERTY_OBJECTNAME, PROPERTY_REFOBJECTNAME, PROPERTY_UNCOMMITTED, PROPERTY_WORKORDERID
Constructor and Description |
---|
MXReservation(ilog.views.gantt.IlvResource resource,
ilog.views.gantt.IlvActivity activity)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.String,java.lang.String> |
getApplinkAppList(java.lang.String propertyName)
Get the map for applink apps
|
java.lang.String |
getApplinkObject(java.lang.String propertyName)
Get the applink object for a proeprty
|
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) |
java.util.Iterator |
getModifiedProperties()
Get iterator of modified properties
|
IMXActivity |
getMXActivity() |
IMXResource |
getMXResource() |
long |
getObjectId()
Returns the object id for the reservation
|
java.lang.String |
getObjectName()
Returns the Object Name for the reservation
|
java.lang.String |
getString(java.lang.String prop) |
java.lang.String |
getString(java.lang.String prop,
java.lang.String defValue) |
boolean |
isModified()
Get the modified flag of reservation
|
java.lang.Object |
setProperty(java.lang.String property,
java.lang.Object value)
Sets the property and value
|
java.lang.Object |
setProperty(java.lang.String property,
java.lang.Object value,
boolean ignoreChangeTracking) |
getProperty, getPropertyNames, isUserProperty, propertyNameIterator
getActivity, getResource, setResource
setGanttModelImpl, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProperty, getPropertyNames
public static final java.lang.String PROPERTY_LOADDATAVALUE
public static final java.lang.String PROPERTY_PMLOADDATAVALUE
public static final java.lang.String PROPERTY_LOADLABORHRS
public static final java.lang.String PROPERTY_LOADTOOLHRS
public static final java.lang.String PROPERTY_LOADTOOLQTY
public static final java.lang.String PROPERTY_LOADZONECAPACITY
public MXReservation(ilog.views.gantt.IlvResource resource, ilog.views.gantt.IlvActivity activity)
resource
- activity
- public java.lang.Object setProperty(java.lang.String property, java.lang.Object value)
setProperty
in interface IMXPropertyGetterSetter
setProperty
in interface ilog.views.gantt.property.IlvUserPropertyHolder
setProperty
in class ilog.views.gantt.model.general.IlvGeneralReservation
property
- namevalue
- public java.lang.Object setProperty(java.lang.String property, java.lang.Object value, boolean ignoreChangeTracking)
setProperty
in interface IMXPropertyGetterSetter
public java.util.Iterator getModifiedProperties()
public boolean isModified()
public java.lang.String getObjectName()
public long getObjectId()
public java.lang.String getApplinkObject(java.lang.String propertyName)
propertyName
- public java.util.HashMap<java.lang.String,java.lang.String> getApplinkAppList(java.lang.String propertyName)
propertyName
- public int getInt(java.lang.String prop)
getInt
in interface IMXPropertyGetterSetter
public long getLong(java.lang.String prop)
getLong
in interface IMXPropertyGetterSetter
public float getFloat(java.lang.String prop)
getFloat
in interface IMXPropertyGetterSetter
public double getDouble(java.lang.String prop)
getDouble
in interface IMXPropertyGetterSetter
public boolean getBoolean(java.lang.String prop)
IMXPropertyGetterSetter
getBoolean
in interface IMXPropertyGetterSetter
public java.lang.String getString(java.lang.String prop)
getString
in interface IMXPropertyGetterSetter
public java.lang.String getString(java.lang.String prop, java.lang.String defValue)
getString
in interface IMXPropertyGetterSetter
public java.util.Date getDate(java.lang.String prop)
getDate
in interface IMXPropertyGetterSetter
public IMXActivity getMXActivity()
getMXActivity
in interface IMXReservation
public IMXResource getMXResource()
getMXResource
in interface IMXReservation