public class MXActivity extends ilog.views.gantt.model.general.IlvGeneralActivity implements IMXGanttCommonConstant, java.io.Serializable, IMXActivity
Modifier and Type | Class and Description |
---|---|
static class |
MXActivity.Factory |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_ACTIONINPROGRESS |
static java.lang.String |
PROPERTY_ACTIVITYINTADJUST |
static java.lang.String |
PROPERTY_ACTUALFINISH |
static java.lang.String |
PROPERTY_ACTUALSTART |
static java.lang.String |
PROPERTY_AMCREW |
static java.lang.String |
PROPERTY_APPOINTMENT |
static java.lang.String |
PROPERTY_APPTREQUIRED |
static java.lang.String |
PROPERTY_ASSIGNMENT_DUMMY |
static java.lang.String |
PROPERTY_ASSIGNMENTACTIVITYSEQ |
static java.lang.String |
PROPERTY_ASSIGNMENTADDED |
static java.lang.String |
PROPERTY_ASSIGNMENTASSET
CGA LABOR,TOOL
|
static java.lang.String |
PROPERTY_ASSIGNMENTCONTRACTNUM |
static java.lang.String |
PROPERTY_ASSIGNMENTCRAFT |
static java.lang.String |
PROPERTY_ASSIGNMENTCREW |
static java.lang.String |
PROPERTY_ASSIGNMENTCREWTYPE |
static java.lang.String |
PROPERTY_ASSIGNMENTCREWWORKGROUP |
static java.lang.String |
PROPERTY_ASSIGNMENTDELETED |
static java.lang.String |
PROPERTY_ASSIGNMENTFLAG |
static java.lang.String |
PROPERTY_ASSIGNMENTLABOR |
static java.lang.String |
PROPERTY_ASSIGNMENTNEWDELETED |
static java.lang.String |
PROPERTY_ASSIGNMENTRESID |
static java.lang.String |
PROPERTY_ASSIGNMENTRESREFOBJ |
static java.lang.String |
PROPERTY_ASSIGNMENTS_STATE |
static java.lang.String |
PROPERTY_ASSIGNMENTSKILL |
static java.lang.String |
PROPERTY_ASSIGNMENTTOOL |
static java.lang.String |
PROPERTY_ASSIGNMENTUPDATED |
static java.lang.String |
PROPERTY_ASSIGNMENTVENDOR |
static java.lang.String |
PROPERTY_COSTTYPEDATA |
static java.lang.String |
PROPERTY_CPMCRITICAL |
static java.lang.String |
PROPERTY_CPMEARLYFINISH |
static java.lang.String |
PROPERTY_CPMEARLYSTART |
static java.lang.String |
PROPERTY_CPMFLOAT |
static java.lang.String |
PROPERTY_CPMLATEFINISH |
static java.lang.String |
PROPERTY_CPMLATESTART |
static java.lang.String |
PROPERTY_DUMMY |
static java.lang.String |
PROPERTY_DURATION |
static java.lang.String |
PROPERTY_EARLYFINISHLAG |
static java.lang.String |
PROPERTY_EARLYSTART_BEFORE_PARENT |
static java.lang.String |
PROPERTY_EARLYSTARTLAG |
static java.lang.String |
PROPERTY_EFFECTIVEDATE |
static java.lang.String |
PROPERTY_ENDDATE |
static java.lang.String |
PROPERTY_ENDTIME |
static java.lang.String |
PROPERTY_ERRVAL
Err Validation Field
"ERRVAL"
|
static java.lang.String |
PROPERTY_ESTIMATEDCOST |
static java.lang.String |
PROPERTY_FLOATLAG |
static java.lang.String |
PROPERTY_FNLCONSTRAINT |
static java.lang.String |
PROPERTY_HIDDEN |
static java.lang.String |
PROPERTY_HIGHLIGHTED |
static java.lang.String |
PROPERTY_IDX
TreeGrid Safe ID field.
|
static java.lang.String |
PROPERTY_INTERNALPLUSTQUALMET |
static java.lang.String |
PROPERTY_INTERNALSTATUS |
static java.lang.String |
PROPERTY_INTERRUPTIBLE |
static java.lang.String |
PROPERTY_INTPLUSARESERVATION |
static java.lang.String |
PROPERTY_INTSHIFT |
static java.lang.String |
PROPERTY_MILESTONE |
static java.lang.String |
PROPERTY_MODAPPOINTMENT |
static java.lang.String |
PROPERTY_NONWORK |
static java.lang.String |
PROPERTY_OLD_ENDTIME |
static java.lang.String |
PROPERTY_OLD_STARTTIME |
static java.lang.String |
PROPERTY_ORIGINAL_ENDTIME |
static java.lang.String |
PROPERTY_ORIGINAL_ENDTIMENULL |
static java.lang.String |
PROPERTY_ORIGINAL_STARTTIME |
static java.lang.String |
PROPERTY_ORIGINAL_STARTTIMENULL |
static java.lang.String |
PROPERTY_PARENTASSIGNMENT |
static java.lang.String |
PROPERTY_PARENTID |
static java.lang.String |
PROPERTY_PARENTOBJID |
static java.lang.String |
PROPERTY_PCACTHRS |
static java.lang.String |
PROPERTY_PCPHYS |
static java.lang.String |
PROPERTY_PCTASK |
static java.lang.String |
PROPERTY_PRESERVESTARTDATE |
static java.lang.String |
PROPERTY_PRIORITY |
static java.lang.String |
PROPERTY_READONLY |
static java.lang.String |
PROPERTY_READONLY_ASSIGNMENT |
static java.lang.String |
PROPERTY_READONLY_DURATION |
static java.lang.String |
PROPERTY_READONLY_STARTEND |
static java.lang.String |
PROPERTY_REASSIGNMENTASSET |
static java.lang.String |
PROPERTY_REASSIGNMENTCONTRACTNUM |
static java.lang.String |
PROPERTY_REASSIGNMENTCRAFT |
static java.lang.String |
PROPERTY_REASSIGNMENTCREW |
static java.lang.String |
PROPERTY_REASSIGNMENTCREWTYPE |
static java.lang.String |
PROPERTY_REASSIGNMENTCREWWORKGROUP |
static java.lang.String |
PROPERTY_REASSIGNMENTLABOR |
static java.lang.String |
PROPERTY_REASSIGNMENTSKILL |
static java.lang.String |
PROPERTY_REASSIGNMENTTOOL |
static java.lang.String |
PROPERTY_REASSIGNMENTVENDOR |
static java.lang.String |
PROPERTY_REPLOCFINISHCONSTRAINT |
static java.lang.String |
PROPERTY_REPLOCSTARTCONSTRAINT |
static java.lang.String |
PROPERTY_SCHEDULEFINISH |
static java.lang.String |
PROPERTY_SCHEDULESTART |
static java.lang.String |
PROPERTY_SNECONSTRAINT |
static java.lang.String |
PROPERTY_SNEFNLCONSTRAINTVIOLATED |
static java.lang.String |
PROPERTY_STARTTIME |
static java.lang.String |
PROPERTY_STATUS |
static java.lang.String |
PROPERTY_TARGETFINISH |
static java.lang.String |
PROPERTY_TARGETSTART |
static java.lang.String |
PROPERTY_UNCOMMITTED
Indicates if the item activity data is not committed.
|
static java.lang.String |
PROPERTY_WARNINGMESSAGE |
static java.lang.String |
PROPERTY_WEATHERALERT |
static java.lang.String |
PROPERTY_WOCLASS |
static java.lang.String |
PROPERTY_WOINTERRUPTIBLE |
static java.lang.String |
PROPERTY_WONUM
Work Order Number (commonly referred to as 'wonum')
"WONUM"
|
static java.lang.String |
PROPERTY_WORK |
static java.lang.String |
PROPERTY_WORKLOG |
DURATION_PROPERTY, ID_PROPERTY, NAME_PROPERTY, TIME_INTERVAL_PROPERTY
PROPERTY_APPLINKAPP, PROPERTY_APPLINKINFO, PROPERTY_APPLINKOBJECT, PROPERTY_ASSIGNMENTID, PROPERTY_AUTHORIZED, PROPERTY_DATAGROUPNAME, PROPERTY_INITIALIZED, PROPERTY_MODIFIED, PROPERTY_OBJECTID, PROPERTY_OBJECTNAME, PROPERTY_REFOBJECTNAME, PROPERTY_WORKORDERID
Constructor and Description |
---|
MXActivity(java.lang.String id,
java.lang.String name,
java.util.Date start,
java.util.Date end)
Constructor
|
MXActivity(java.lang.String id,
java.lang.String name,
java.util.Date start,
ilog.views.gantt.IlvDuration duration)
Constructor
|
MXActivity(java.lang.String id,
java.lang.String name,
ilog.views.gantt.IlvTimeInterval interval)
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) |
java.util.Date |
getEarlyFinish() |
java.util.Date |
getEarlyStart() |
java.lang.Double |
getFloat() |
float |
getFloat(java.lang.String prop) |
ilog.views.gantt.IlvGanttModel |
getGanttModel() |
int |
getInt(java.lang.String prop) |
java.util.Date |
getLateFinish() |
java.util.Date |
getLateStart() |
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.util.Map<java.lang.Integer,MXActivity> |
getSegmentInfoMap()
Get the segment info map for PM
|
java.util.Date[] |
getShiftTime()
Get the activity shiftTime
|
<T extends MXSegmentActivity> |
getSKDSegmentInfo(int forecastSeqNo)
Get SKDSegmentInfo for a forecast sequence number
|
java.lang.String |
getString(java.lang.String prop) |
java.lang.String |
getString(java.lang.String prop,
java.lang.String defValue) |
java.lang.Boolean |
isCritical() |
boolean |
isModified()
Get the modified flag of activity
|
boolean |
isPropertyModified(java.lang.String propertyName)
Flag to indicate if property is modified or not
|
void |
markEndTimeModified()
Mark the activity when end time is modified
|
void |
markStartTimeModified()
Mark the activity when start time is modified
|
void |
setCritical(java.lang.Boolean critical) |
void |
setDuration(ilog.views.gantt.IlvDuration arg0)
Set the diration
|
void |
setEarlyFinish(java.util.Date earlyFinish) |
void |
setEarlyStart(java.util.Date earlyStart) |
void |
setEndTime(java.util.Date endTime)
Set end time
|
void |
setFloat(java.lang.Double floatValue) |
void |
setLateFinish(java.util.Date lateFinish) |
void |
setLateStart(java.util.Date lateStart) |
void |
setModified(boolean value)
Sets the modified flag
|
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)
Sets property value
|
void |
setSegmentInfoMap(java.util.Map<java.lang.Integer,MXActivity> segmentInfoMap)
Set segment information
|
void |
setShiftTime(java.util.Date[] shiftTime)
Set the activity shiftTime
|
void |
setStartTime(java.util.Date startTime)
Set start time for an activity
|
void |
setTimeInterval(java.util.Date arg0,
java.util.Date arg1)
Set time interval for an activity
|
void |
setTimeInterval(ilog.views.gantt.IlvTimeInterval arg0)
Set the time interval
|
getProperty, getPropertyNames, getTimeProperties, isUserProperty, propertyNameIterator, setTimeProperties
getAutoCalcTimeIntervalFromChildren, getChildEventFilter, getID, getName, getTimeInterval, processChildEvent, setAutoCalcTimeIntervalFromChildren, setGanttModelImpl, setID, setName
getDuration, getEndTime, getStartTime, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEndTime, getID, getName, getStartTime
getProperty, getPropertyNames
public static final java.lang.String PROPERTY_WONUM
public static final java.lang.String PROPERTY_STARTTIME
public static final java.lang.String PROPERTY_ENDTIME
public static final java.lang.String PROPERTY_PARENTID
public static final java.lang.String PROPERTY_PARENTOBJID
public static final java.lang.String PROPERTY_ORIGINAL_STARTTIME
public static final java.lang.String PROPERTY_ORIGINAL_ENDTIME
public static final java.lang.String PROPERTY_ORIGINAL_STARTTIMENULL
public static final java.lang.String PROPERTY_ORIGINAL_ENDTIMENULL
public static final java.lang.String PROPERTY_READONLY
public static final java.lang.String PROPERTY_READONLY_DURATION
public static final java.lang.String PROPERTY_READONLY_ASSIGNMENT
public static final java.lang.String PROPERTY_READONLY_STARTEND
public static final java.lang.String PROPERTY_DUMMY
public static final java.lang.String PROPERTY_ASSIGNMENT_DUMMY
public static final java.lang.String PROPERTY_ASSIGNMENTS_STATE
public static final java.lang.String PROPERTY_DURATION
public static final java.lang.String PROPERTY_ACTUALSTART
public static final java.lang.String PROPERTY_ACTUALFINISH
public static final java.lang.String PROPERTY_TARGETSTART
public static final java.lang.String PROPERTY_TARGETFINISH
public static final java.lang.String PROPERTY_SCHEDULESTART
public static final java.lang.String PROPERTY_SCHEDULEFINISH
public static final java.lang.String PROPERTY_PCACTHRS
public static final java.lang.String PROPERTY_PCTASK
public static final java.lang.String PROPERTY_PCPHYS
public static final java.lang.String PROPERTY_SNECONSTRAINT
public static final java.lang.String PROPERTY_FNLCONSTRAINT
public static final java.lang.String PROPERTY_SNEFNLCONSTRAINTVIOLATED
public static final java.lang.String PROPERTY_REPLOCSTARTCONSTRAINT
public static final java.lang.String PROPERTY_REPLOCFINISHCONSTRAINT
public static final java.lang.String PROPERTY_INTERRUPTIBLE
public static final java.lang.String PROPERTY_INTSHIFT
public static final java.lang.String PROPERTY_PRESERVESTARTDATE
public static final java.lang.String PROPERTY_INTERNALSTATUS
public static final java.lang.String PROPERTY_ACTIVITYINTADJUST
public static final java.lang.String PROPERTY_PRIORITY
public static final java.lang.String PROPERTY_CPMEARLYSTART
public static final java.lang.String PROPERTY_CPMEARLYFINISH
public static final java.lang.String PROPERTY_CPMLATESTART
public static final java.lang.String PROPERTY_CPMLATEFINISH
public static final java.lang.String PROPERTY_CPMFLOAT
public static final java.lang.String PROPERTY_CPMCRITICAL
public static final java.lang.String PROPERTY_HIGHLIGHTED
public static final java.lang.String PROPERTY_WOCLASS
public static final java.lang.String PROPERTY_ACTIONINPROGRESS
public static final java.lang.String PROPERTY_PARENTASSIGNMENT
public static final java.lang.String PROPERTY_ASSIGNMENTFLAG
public static final java.lang.String PROPERTY_ASSIGNMENTADDED
public static final java.lang.String PROPERTY_ASSIGNMENTUPDATED
public static final java.lang.String PROPERTY_ASSIGNMENTDELETED
public static final java.lang.String PROPERTY_ASSIGNMENTNEWDELETED
public static final java.lang.String PROPERTY_ASSIGNMENTRESID
public static final java.lang.String PROPERTY_ASSIGNMENTRESREFOBJ
public static final java.lang.String PROPERTY_ASSIGNMENTACTIVITYSEQ
public static final java.lang.String PROPERTY_NONWORK
public static final java.lang.String PROPERTY_WORK
public static final java.lang.String PROPERTY_ASSIGNMENTSKILL
public static final java.lang.String PROPERTY_ASSIGNMENTCRAFT
public static final java.lang.String PROPERTY_ASSIGNMENTLABOR
public static final java.lang.String PROPERTY_REASSIGNMENTCRAFT
public static final java.lang.String PROPERTY_REASSIGNMENTLABOR
public static final java.lang.String PROPERTY_REASSIGNMENTSKILL
public static final java.lang.String PROPERTY_ASSIGNMENTVENDOR
public static final java.lang.String PROPERTY_ASSIGNMENTCONTRACTNUM
public static final java.lang.String PROPERTY_REASSIGNMENTVENDOR
public static final java.lang.String PROPERTY_REASSIGNMENTCONTRACTNUM
public static final java.lang.String PROPERTY_ASSIGNMENTASSET
public static final java.lang.String PROPERTY_ASSIGNMENTTOOL
public static final java.lang.String PROPERTY_REASSIGNMENTTOOL
public static final java.lang.String PROPERTY_REASSIGNMENTASSET
public static final java.lang.String PROPERTY_EFFECTIVEDATE
public static final java.lang.String PROPERTY_ENDDATE
public static final java.lang.String PROPERTY_ASSIGNMENTCREW
public static final java.lang.String PROPERTY_ASSIGNMENTCREWTYPE
public static final java.lang.String PROPERTY_ASSIGNMENTCREWWORKGROUP
public static final java.lang.String PROPERTY_REASSIGNMENTCREW
public static final java.lang.String PROPERTY_REASSIGNMENTCREWTYPE
public static final java.lang.String PROPERTY_REASSIGNMENTCREWWORKGROUP
public static final java.lang.String PROPERTY_APPOINTMENT
public static final java.lang.String PROPERTY_APPTREQUIRED
public static final java.lang.String PROPERTY_MODAPPOINTMENT
public static final java.lang.String PROPERTY_WORKLOG
public static final java.lang.String PROPERTY_HIDDEN
public static final java.lang.String PROPERTY_AMCREW
public static final java.lang.String PROPERTY_COSTTYPEDATA
public static final java.lang.String PROPERTY_ESTIMATEDCOST
public static final java.lang.String PROPERTY_WEATHERALERT
public static final java.lang.String PROPERTY_UNCOMMITTED
public static final java.lang.String PROPERTY_OLD_STARTTIME
public static final java.lang.String PROPERTY_OLD_ENDTIME
public static final java.lang.String PROPERTY_STATUS
public static final java.lang.String PROPERTY_WOINTERRUPTIBLE
public static final java.lang.String PROPERTY_INTPLUSARESERVATION
public static final java.lang.String PROPERTY_INTERNALPLUSTQUALMET
public static final java.lang.String PROPERTY_ERRVAL
public static final java.lang.String PROPERTY_IDX
public static final java.lang.String PROPERTY_EARLYSTARTLAG
public static final java.lang.String PROPERTY_EARLYFINISHLAG
public static final java.lang.String PROPERTY_FLOATLAG
public static final java.lang.String PROPERTY_EARLYSTART_BEFORE_PARENT
public static final java.lang.String PROPERTY_WARNINGMESSAGE
public static final java.lang.String PROPERTY_MILESTONE
public MXActivity(java.lang.String id, java.lang.String name, java.util.Date start, java.util.Date end)
id
- name
- start
- end
- public MXActivity(java.lang.String id, java.lang.String name, java.util.Date start, ilog.views.gantt.IlvDuration duration)
id
- name
- start
- duration
- public MXActivity(java.lang.String id, java.lang.String name, ilog.views.gantt.IlvTimeInterval interval)
id
- name
- interval
- public void setDuration(ilog.views.gantt.IlvDuration arg0)
setDuration
in class ilog.views.gantt.model.IlvAbstractActivity
IlvDuration
- public void setEndTime(java.util.Date endTime)
setEndTime
in interface ilog.views.gantt.IlvActivity
setEndTime
in class ilog.views.gantt.model.IlvAbstractActivity
end
- timepublic void markEndTimeModified()
public void setStartTime(java.util.Date startTime)
setStartTime
in interface ilog.views.gantt.IlvActivity
setStartTime
in class ilog.views.gantt.model.IlvAbstractActivity
start
- timepublic void markStartTimeModified()
public void setTimeInterval(java.util.Date arg0, java.util.Date arg1)
setTimeInterval
in interface IMXActivity
setTimeInterval
in interface ilog.views.gantt.IlvActivity
setTimeInterval
in class ilog.views.gantt.model.IlvAbstractActivity
start
- time and end timepublic void setTimeInterval(ilog.views.gantt.IlvTimeInterval arg0)
setTimeInterval
in interface ilog.views.gantt.IlvActivity
setTimeInterval
in class ilog.views.gantt.model.general.IlvGeneralActivity
IlvTimeInterval
- 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.IlvGeneralActivity
property
- namevalue
- public java.lang.Object setProperty(java.lang.String property, java.lang.Object value, boolean ignoreChangeTracking)
setProperty
in interface IMXPropertyGetterSetter
property
- value
- ignoreChangeTracking
- public java.util.Iterator getModifiedProperties()
public boolean isPropertyModified(java.lang.String propertyName)
propertyName
- public boolean isModified()
isModified
in interface IMXActivity
public void setModified(boolean value)
value
- 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 setSegmentInfoMap(java.util.Map<java.lang.Integer,MXActivity> segmentInfoMap)
segmentInfoMap
- public <T extends MXSegmentActivity> T getSKDSegmentInfo(int forecastSeqNo)
forecastSeqNo
- public void setShiftTime(java.util.Date[] shiftTime)
shiftTime
- public java.util.Date[] getShiftTime()
public java.util.Map<java.lang.Integer,MXActivity> getSegmentInfoMap()
public ilog.views.gantt.IlvGanttModel getGanttModel()
getGanttModel
in class ilog.views.gantt.model.IlvAbstractActivity
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 java.util.Date getEarlyStart()
getEarlyStart
in interface IMXActivity
public java.util.Date getEarlyFinish()
getEarlyFinish
in interface IMXActivity
public java.util.Date getLateStart()
getLateStart
in interface IMXActivity
public java.util.Date getLateFinish()
getLateFinish
in interface IMXActivity
public java.lang.Double getFloat()
getFloat
in interface IMXActivity
public java.lang.Boolean isCritical()
isCritical
in interface IMXActivity
public void setEarlyStart(java.util.Date earlyStart)
setEarlyStart
in interface IMXActivity
public void setEarlyFinish(java.util.Date earlyFinish)
setEarlyFinish
in interface IMXActivity
public void setLateStart(java.util.Date lateStart)
setLateStart
in interface IMXActivity
public void setLateFinish(java.util.Date lateFinish)
setLateFinish
in interface IMXActivity
public void setFloat(java.lang.Double floatValue)
setFloat
in interface IMXActivity
public void setCritical(java.lang.Boolean critical)
setCritical
in interface IMXActivity