public class MXConstraint extends ilog.views.gantt.model.general.IlvGeneralConstraint implements IMXGanttCommonConstant, java.io.Serializable, IMXConstraint
Modifier and Type | Class and Description |
---|---|
static class |
MXConstraint.Factory |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OPERATION_CONSTRAINTCHANGED |
static java.lang.String |
OPERATION_CONSTRAINTINSERTED |
static java.lang.String |
OPERATION_CONSTRAINTREMOVED |
static java.lang.String |
PROPERTY_CONSTRAINTCHANGEID |
static java.lang.String |
PROPERTY_FROMACTIVITY |
static java.lang.String |
PROPERTY_LEADLAGHOURS |
static java.lang.String |
PROPERTY_NEWCONSTRAINT |
static java.lang.String |
PROPERTY_OPERATION |
static java.lang.String |
PROPERTY_OPTIMIZE |
static java.lang.String |
PROPERTY_OPTSPLIT |
static java.lang.String |
PROPERTY_PREDECESSOR_DESCRIPTION |
static java.lang.String |
PROPERTY_PREDECESSOR_WONUM |
static java.lang.String |
PROPERTY_SAVEDCONSTRAINTTYPE |
static java.lang.String |
PROPERTY_SUCCESSOR_DESCRIPTION |
static java.lang.String |
PROPERTY_SUCCESSOR_WONUM |
static java.lang.String |
PROPERTY_TOACTIVITY |
FROM_ACTIVITY_PROPERTY, TO_ACTIVITY_PROPERTY, TYPE_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 |
---|
MXConstraint(ilog.views.gantt.IlvActivity fromActivity,
ilog.views.gantt.IlvActivity toActivity,
ilog.views.gantt.IlvConstraintType type)
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
|
IMXActivity |
getFromActivityObject() |
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
|
IMXActivity |
getToActivityObject() |
boolean |
isModified()
Get the modified flag of constraint
|
void |
setLeadLagHours(java.lang.Double leadLagHours) |
void |
setOptimize(java.lang.Boolean optimize) |
void |
setOptsplit(java.lang.Boolean optsplit) |
java.lang.Object |
setProperty(java.lang.String property,
java.lang.Object value)
Set property name and value
|
getProperty, getPropertyNames, isUserProperty, propertyNameIterator
getFromActivity, getToActivity, getType, setType
setGanttModelImpl, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProperty, getType, setType
public static final java.lang.String PROPERTY_FROMACTIVITY
public static final java.lang.String PROPERTY_TOACTIVITY
public static final java.lang.String PROPERTY_SAVEDCONSTRAINTTYPE
public static final java.lang.String PROPERTY_NEWCONSTRAINT
public static final java.lang.String PROPERTY_CONSTRAINTCHANGEID
public static final java.lang.String PROPERTY_LEADLAGHOURS
public static final java.lang.String PROPERTY_OPTSPLIT
public static final java.lang.String PROPERTY_OPTIMIZE
public static final java.lang.String PROPERTY_OPERATION
public static final java.lang.String OPERATION_CONSTRAINTCHANGED
public static final java.lang.String OPERATION_CONSTRAINTREMOVED
public static final java.lang.String OPERATION_CONSTRAINTINSERTED
public static final java.lang.String PROPERTY_PREDECESSOR_WONUM
public static final java.lang.String PROPERTY_PREDECESSOR_DESCRIPTION
public static final java.lang.String PROPERTY_SUCCESSOR_WONUM
public static final java.lang.String PROPERTY_SUCCESSOR_DESCRIPTION
public MXConstraint(ilog.views.gantt.IlvActivity fromActivity, ilog.views.gantt.IlvActivity toActivity, ilog.views.gantt.IlvConstraintType type)
fromActivity
- toActivity
- type
- public java.lang.Object setProperty(java.lang.String property, java.lang.Object value)
setProperty
in interface ilog.views.gantt.property.IlvUserPropertyHolder
setProperty
in class ilog.views.gantt.model.general.IlvGeneralConstraint
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 IMXActivity getFromActivityObject()
getFromActivityObject
in interface IMXConstraint
public IMXActivity getToActivityObject()
getToActivityObject
in interface IMXConstraint
public void setLeadLagHours(java.lang.Double leadLagHours)
setLeadLagHours
in interface IMXConstraint
public void setOptimize(java.lang.Boolean optimize)
setOptimize
in interface IMXConstraint
public void setOptsplit(java.lang.Boolean optsplit)
setOptsplit
in interface IMXConstraint