public class Constraint extends com.ibm.json.java.JSONObject implements java.io.Serializable, IMXConstraint
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COL_INTERNAL_CPM_DESCENDENTS |
static java.lang.String |
MISSING_FROM_DEPENDENCIES |
static java.lang.String |
MISSING_TO_DEPENDENCIES |
Constructor and Description |
---|
Constraint() |
Modifier and Type | Method and Description |
---|---|
void |
addConstraintToActivity(Schedule schedule,
Activity fromActivity,
Activity toActivity) |
Constraint |
addRow() |
Constraint |
addRow(Constraint row) |
Activity |
getFromActivity() |
IMXActivity |
getFromActivityObject() |
java.lang.String |
getId() |
java.util.Iterator |
getModifiedProperties() |
java.lang.Long |
getObjectID() |
java.lang.Object |
getProperty(java.lang.String prop) |
Activity |
getToActivity() |
IMXActivity |
getToActivityObject() |
ilog.views.gantt.IlvConstraintType |
getType() |
java.lang.String |
getTypeForPersistence() |
boolean |
isInitialized() |
boolean |
isModified() |
com.ibm.json.java.JSONArray |
Items() |
void |
remove(Schedule schedule) |
void |
setDataGroupName(java.lang.String dataGroupName) |
void |
setFromActivity(Activity fromActivity) |
void |
setID(java.lang.String id) |
void |
setInitialized(java.lang.Boolean initialized) |
void |
setLeadLagHours(java.lang.Double leadLagHours) |
void |
setModified(boolean modified) |
void |
setObjectID(java.lang.Long objectID) |
void |
setObjectName(java.lang.String objectName) |
void |
setOptimize(java.lang.Boolean optimize) |
void |
setOptsplit(java.lang.Boolean optsplit) |
void |
setRefObjectName(java.lang.String refObjectName) |
void |
setToActivity(Activity toActivity) |
void |
setType(ilog.views.gantt.IlvConstraintType type) |
void |
setType(java.lang.String type) |
void |
setUncommitted(boolean uncommitted) |
isValidObject, isValidType, parse, parse, parse, put, serialize, serialize, serialize, serialize, serialize, serialize, toString
public static final java.lang.String COL_INTERNAL_CPM_DESCENDENTS
public static final java.lang.String MISSING_FROM_DEPENDENCIES
public static final java.lang.String MISSING_TO_DEPENDENCIES
public com.ibm.json.java.JSONArray Items()
public Constraint addRow()
public Constraint addRow(Constraint row)
public boolean isInitialized()
public boolean isModified()
public Activity getFromActivity()
public Activity getToActivity()
public ilog.views.gantt.IlvConstraintType getType()
getType
in interface IMXConstraint
public java.lang.String getTypeForPersistence()
public java.lang.Long getObjectID()
public java.util.Iterator getModifiedProperties()
public void setDataGroupName(java.lang.String dataGroupName)
public void setID(java.lang.String id)
public void setLeadLagHours(java.lang.Double leadLagHours)
setLeadLagHours
in interface IMXConstraint
public void setFromActivity(Activity fromActivity)
public void setToActivity(Activity toActivity)
public void setType(java.lang.String type)
public void setType(ilog.views.gantt.IlvConstraintType type)
setType
in interface IMXConstraint
public void setObjectName(java.lang.String objectName)
public void setRefObjectName(java.lang.String refObjectName)
public void setObjectID(java.lang.Long objectID)
public void setInitialized(java.lang.Boolean initialized)
public void setModified(boolean modified)
public void setUncommitted(boolean uncommitted)
public java.lang.String getId()
public void addConstraintToActivity(Schedule schedule, Activity fromActivity, Activity toActivity)
public void remove(Schedule schedule)
public IMXActivity getFromActivityObject()
getFromActivityObject
in interface IMXConstraint
public IMXActivity getToActivityObject()
getToActivityObject
in interface IMXConstraint
public java.lang.Object getProperty(java.lang.String prop)
getProperty
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