public class MXResource extends ilog.views.gantt.model.general.IlvGeneralResource implements IMXGanttCommonConstant, java.io.Serializable, IMXResource
Modifier and Type | Class and Description |
---|---|
static class |
MXResource.Factory |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_CRAFT |
static java.lang.String |
PROPERTY_CRAFTSKILLMAP |
static java.lang.String |
PROPERTY_CRAFTSKILLRANK |
static java.lang.String |
PROPERTY_CREWWORKGROUP |
static java.lang.String |
PROPERTY_DEFAULTCONTRACTNUM |
static java.lang.String |
PROPERTY_DEFAULTVENDOR |
static java.lang.String |
PROPERTY_DUMMY |
static java.lang.String |
PROPERTY_LABORCALNUM |
static java.lang.String |
PROPERTY_LABORDEFAULTSKILL |
static java.lang.String |
PROPERTY_LABORSHIFTNUM |
static java.lang.String |
PROPERTY_NONWORKHRS |
static java.lang.String |
PROPERTY_OLDPARENTID |
static java.lang.String |
PROPERTY_PARENTID |
static java.lang.String |
PROPERTY_PMROTTOOLAVAILABILITY |
static java.lang.String |
PROPERTY_REPAIRLOC |
static java.lang.String |
PROPERTY_RESOURCEAVAILABILITY |
static java.lang.String |
PROPERTY_ROTTOOLAVAILABILITY |
static java.lang.String |
PROPERTY_SECONDARYASSIGNLOC |
static java.lang.String |
PROPERTY_SHIFTNUM |
static java.lang.String |
PROPERTY_SUMMEDVIEW |
static java.lang.String |
PROPERTY_TIMEBASED |
static java.lang.String |
PROPERTY_WORKHRS |
static java.lang.String |
PROPERTY_ZONEAVAILABILITY |
static java.lang.String |
USERDATA_AVAILSHIFTBUCKET |
static java.lang.String |
USERDATA_CHARTDATA
UserData for holding the Chart Data for a given Resource
|
static java.lang.String |
USERDATA_LOADSHIFTBUCKET |
ID_PROPERTY, NAME_PROPERTY, QUANTITY_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 |
---|
MXResource(java.lang.String id,
java.lang.String name)
Constructor
|
MXResource(java.lang.String id,
java.lang.String name,
float quantity)
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 all modified properties
|
long |
getObjectId()
Returns the object id for the activity
|
java.lang.String |
getObjectName()
Returns the Object Name for the activity
|
java.lang.String |
getString(java.lang.String prop) |
java.lang.String |
getString(java.lang.String prop,
java.lang.String defValue) |
<T> T |
getUserData(java.lang.String key)
Returns a piece of previously set UserData for this Resource, or null, if it has not been set.
|
boolean |
isModified()
Get the modified flag of activity
|
java.lang.Object |
setProperty(java.lang.String property,
java.lang.Object value)
Set property name and value
|
java.lang.Object |
setProperty(java.lang.String property,
java.lang.Object value,
boolean ignoreChangeTracking) |
void |
setUserData(java.lang.String key,
java.lang.Object value)
Sets some arbitrary piece of user data for this resource.
|
getProperty, getPropertyNames, isUserProperty, propertyNameIterator
getID, getName, getQuantity, setID, setName, setQuantity
getChildEventFilter, processChildEvent, setGanttModelImpl, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getID, getQuantity
getProperty, getPropertyNames
public static final java.lang.String PROPERTY_CRAFT
public static final java.lang.String PROPERTY_PARENTID
public static final java.lang.String PROPERTY_OLDPARENTID
public static final java.lang.String PROPERTY_DUMMY
public static final java.lang.String PROPERTY_RESOURCEAVAILABILITY
public static final java.lang.String PROPERTY_NONWORKHRS
public static final java.lang.String PROPERTY_WORKHRS
public static final java.lang.String PROPERTY_SUMMEDVIEW
public static final java.lang.String PROPERTY_LABORSHIFTNUM
public static final java.lang.String PROPERTY_LABORCALNUM
public static final java.lang.String PROPERTY_LABORDEFAULTSKILL
public static final java.lang.String PROPERTY_CRAFTSKILLMAP
public static final java.lang.String PROPERTY_CRAFTSKILLRANK
public static final java.lang.String PROPERTY_DEFAULTVENDOR
public static final java.lang.String PROPERTY_DEFAULTCONTRACTNUM
public static final java.lang.String PROPERTY_ROTTOOLAVAILABILITY
public static final java.lang.String PROPERTY_PMROTTOOLAVAILABILITY
public static final java.lang.String PROPERTY_REPAIRLOC
public static final java.lang.String PROPERTY_SHIFTNUM
public static final java.lang.String PROPERTY_CREWWORKGROUP
public static final java.lang.String PROPERTY_SECONDARYASSIGNLOC
public static final java.lang.String PROPERTY_ZONEAVAILABILITY
public static final java.lang.String USERDATA_CHARTDATA
public static final java.lang.String USERDATA_AVAILSHIFTBUCKET
public static final java.lang.String USERDATA_LOADSHIFTBUCKET
public static final java.lang.String PROPERTY_TIMEBASED
public MXResource(java.lang.String id, java.lang.String name, float quantity)
id
- name
- quantity
- public MXResource(java.lang.String id, java.lang.String name)
id
- name
- public java.lang.Object setProperty(java.lang.String property, java.lang.Object value, boolean ignoreChangeTracking)
setProperty
in interface IMXPropertyGetterSetter
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.IlvGeneralResource
property
- namevalue
- 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 void setUserData(java.lang.String key, java.lang.Object value)
setUserData
in interface IMXResource
key
- value
- public <T> T getUserData(java.lang.String key)
getUserData
in interface IMXResource
key
- 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