public class MXConstraint extends ilog.views.gantt.model.general.IlvGeneralConstraint implements IMXGanttCommonConstant, java.io.Serializable
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_SAVEDCONSTRAINTTYPE |
static java.lang.String |
PROPERTY_TOACTIVITY |
FROM_ACTIVITY_PROPERTY, TO_ACTIVITY_PROPERTY, TYPE_PROPERTY
PROPERTY_APPLINKAPP, PROPERTY_APPLINKINFO, PROPERTY_APPLINKOBJECT, PROPERTY_AUTHORIZED, PROPERTY_DATAGROUPNAME, PROPERTY_INITIALIZED, PROPERTY_MODIFIED, PROPERTY_OBJECTID, PROPERTY_OBJECTNAME, PROPERTY_REFOBJECTNAME, PROPERTY_UNCOMMITTED
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
|
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
|
SKDPropertyValue |
getSKDPropertyValue(java.lang.String propertyName)
Get the value of a property
|
java.util.HashMap<java.lang.String,SKDPropertyValue> |
getValueHash()
Get the property value map
|
boolean |
isModified()
Get the modified flag of constraint
|
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
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_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 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 java.util.HashMap<java.lang.String,SKDPropertyValue> getValueHash()
public SKDPropertyValue getSKDPropertyValue(java.lang.String propertyName)
propertyName
-