public class MXPMSegmentActivity extends MXActivity
MXActivity.Factory
PROPERTY_ACTIONINPROGRESS, PROPERTY_ACTIVITYINTADJUST, PROPERTY_ACTUALFINISH, PROPERTY_ACTUALSTART, PROPERTY_AMCREW, PROPERTY_APPOINTMENT, PROPERTY_APPTREQUIRED, PROPERTY_ASSIGNMENT_DUMMY, PROPERTY_ASSIGNMENTACTIVITYSEQ, PROPERTY_ASSIGNMENTADDED, PROPERTY_ASSIGNMENTASSET, PROPERTY_ASSIGNMENTCONTRACTNUM, PROPERTY_ASSIGNMENTCRAFT, PROPERTY_ASSIGNMENTCREW, PROPERTY_ASSIGNMENTCREWTYPE, PROPERTY_ASSIGNMENTCREWWORKGROUP, PROPERTY_ASSIGNMENTDELETED, PROPERTY_ASSIGNMENTFLAG, PROPERTY_ASSIGNMENTLABOR, PROPERTY_ASSIGNMENTNEWDELETED, PROPERTY_ASSIGNMENTRESID, PROPERTY_ASSIGNMENTRESREFOBJ, PROPERTY_ASSIGNMENTS_STATE, PROPERTY_ASSIGNMENTSKILL, PROPERTY_ASSIGNMENTTOOL, PROPERTY_ASSIGNMENTUPDATED, PROPERTY_ASSIGNMENTVENDOR, PROPERTY_COSTTYPEDATA, PROPERTY_CPMCRITICAL, PROPERTY_CPMEARLYFINISH, PROPERTY_CPMEARLYSTART, PROPERTY_CPMFLOAT, PROPERTY_CPMLATEFINISH, PROPERTY_CPMLATESTART, PROPERTY_DUMMY, PROPERTY_DURATION, PROPERTY_EARLYFINISHLAG, PROPERTY_EARLYSTART_BEFORE_PARENT, PROPERTY_EARLYSTARTLAG, PROPERTY_EFFECTIVEDATE, PROPERTY_ENDDATE, PROPERTY_ENDTIME, PROPERTY_ERRVAL, PROPERTY_ESTIMATEDCOST, PROPERTY_FLOATLAG, PROPERTY_FNLCONSTRAINT, PROPERTY_HIDDEN, PROPERTY_HIGHLIGHTED, PROPERTY_IDX, PROPERTY_INTERNALPLUSTQUALMET, PROPERTY_INTERNALSTATUS, PROPERTY_INTERRUPTIBLE, PROPERTY_INTPLUSARESERVATION, PROPERTY_INTSHIFT, PROPERTY_MILESTONE, PROPERTY_MODAPPOINTMENT, PROPERTY_NONWORK, PROPERTY_OLD_ENDTIME, PROPERTY_OLD_STARTTIME, PROPERTY_ORIGINAL_ENDTIME, PROPERTY_ORIGINAL_ENDTIMENULL, PROPERTY_ORIGINAL_STARTTIME, PROPERTY_ORIGINAL_STARTTIMENULL, PROPERTY_PARENTASSIGNMENT, PROPERTY_PARENTID, PROPERTY_PARENTOBJID, PROPERTY_PCACTHRS, PROPERTY_PCPHYS, PROPERTY_PCTASK, PROPERTY_PRESERVESTARTDATE, PROPERTY_PRIORITY, PROPERTY_READONLY, PROPERTY_READONLY_ASSIGNMENT, PROPERTY_READONLY_DURATION, PROPERTY_READONLY_STARTEND, PROPERTY_REASSIGNMENTASSET, PROPERTY_REASSIGNMENTCONTRACTNUM, PROPERTY_REASSIGNMENTCRAFT, PROPERTY_REASSIGNMENTCREW, PROPERTY_REASSIGNMENTCREWTYPE, PROPERTY_REASSIGNMENTCREWWORKGROUP, PROPERTY_REASSIGNMENTLABOR, PROPERTY_REASSIGNMENTSKILL, PROPERTY_REASSIGNMENTTOOL, PROPERTY_REASSIGNMENTVENDOR, PROPERTY_REPLOCFINISHCONSTRAINT, PROPERTY_REPLOCSTARTCONSTRAINT, PROPERTY_SCHEDULEFINISH, PROPERTY_SCHEDULESTART, PROPERTY_SNECONSTRAINT, PROPERTY_SNEFNLCONSTRAINTVIOLATED, PROPERTY_STARTTIME, PROPERTY_STATUS, PROPERTY_TARGETFINISH, PROPERTY_TARGETSTART, PROPERTY_UNCOMMITTED, PROPERTY_WARNINGMESSAGE, PROPERTY_WEATHERALERT, PROPERTY_WOCLASS, PROPERTY_WOINTERRUPTIBLE, PROPERTY_WONUM, PROPERTY_WORK, 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 |
---|
MXPMSegmentActivity(java.lang.String id,
java.lang.String name,
java.util.Date start,
java.util.Date end,
MXActivity parent,
int seq) |
Modifier and Type | Method and Description |
---|---|
MXActivity |
getParent()
Returns the "real" MXActivity object that holds this PM segment
|
static MXPMSegmentActivity |
getPMActivity(MXActivity pmParentRow,
int seqId)
Returns the PM Seqment info as a MXActivity so that we can treat it like an reqular MXActivity object
|
static MXPMSegmentActivity |
getPMActivity(MXGanttModel model,
java.lang.String id)
This is a convenience method that takes an ID in the format PM_ACTIVITYID__SEQ# it returns a MXPMActivity if
the Activity exists, and the Activity has the given Sequence #.
|
java.lang.Object |
getProperty(java.lang.String arg0)
Proxy GetProperty to go to the parent for everything except for local fields.
|
int |
getSequence()
Returns the PM Sequence for this PM instance
|
static boolean |
isPMActivityID(java.lang.String id)
Returns true if the ID starts with PM_ and contains "__"
|
void |
setEndTime(java.util.Date endTime)
Set end time
|
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 |
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
|
getApplinkAppList, getApplinkObject, getBoolean, getDate, getDouble, getEarlyFinish, getEarlyStart, getFloat, getFloat, getGanttModel, getInt, getLateFinish, getLateStart, getLong, getModifiedProperties, getObjectId, getObjectName, getSegmentInfoMap, getShiftTime, getSKDSegmentInfo, getString, getString, isCritical, isModified, isPropertyModified, markEndTimeModified, markStartTimeModified, setCritical, setDuration, setEarlyFinish, setEarlyStart, setFloat, setLateFinish, setLateStart, setModified, setSegmentInfoMap, setShiftTime
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
getPropertyNames
public MXPMSegmentActivity(java.lang.String id, java.lang.String name, java.util.Date start, java.util.Date end, MXActivity parent, int seq)
public MXActivity getParent()
public int getSequence()
public void setEndTime(java.util.Date endTime)
MXActivity
setEndTime
in interface ilog.views.gantt.IlvActivity
setEndTime
in class MXActivity
public void setStartTime(java.util.Date startTime)
MXActivity
setStartTime
in interface ilog.views.gantt.IlvActivity
setStartTime
in class MXActivity
public void setTimeInterval(java.util.Date arg0, java.util.Date arg1)
MXActivity
setTimeInterval
in interface IMXActivity
setTimeInterval
in interface ilog.views.gantt.IlvActivity
setTimeInterval
in class MXActivity
public void setTimeInterval(ilog.views.gantt.IlvTimeInterval arg0)
MXActivity
setTimeInterval
in interface ilog.views.gantt.IlvActivity
setTimeInterval
in class MXActivity
public java.lang.Object setProperty(java.lang.String property, java.lang.Object value)
MXActivity
setProperty
in interface IMXPropertyGetterSetter
setProperty
in interface ilog.views.gantt.property.IlvUserPropertyHolder
setProperty
in class MXActivity
property
- namepublic java.lang.Object setProperty(java.lang.String property, java.lang.Object value, boolean ignoreChangeTracking)
MXActivity
setProperty
in interface IMXPropertyGetterSetter
setProperty
in class MXActivity
public java.lang.Object getProperty(java.lang.String arg0)
getProperty
in interface IMXPropertyGetterSetter
getProperty
in interface ilog.views.gantt.property.IlvUserPropertyHolder
getProperty
in class ilog.views.gantt.model.general.IlvGeneralActivity
public static boolean isPMActivityID(java.lang.String id)
id
- public static MXPMSegmentActivity getPMActivity(MXGanttModel model, java.lang.String id)
model
- activityId
- public static MXPMSegmentActivity getPMActivity(MXActivity pmParentRow, int seqId)
pmParentRow
- seqId
-