public class IlvSimpleConstraint extends IlvAbstractConstraint
IlvSimpleConstraint
is a relatively simple, memory-based
implementation of the IlvConstraint
interface that can be
extended in a straightforward manner for more complex needs.
IlvSimpleConstraint
does not provide any connection to a
persistent datastore itself.Constructor and Description |
---|
IlvSimpleConstraint(IlvActivity fromActivity,
IlvActivity toActivity,
IlvConstraintType type)
Creates a new
IlvSimpleConstraint from the specified
from-activity, to-activity, and type. |
Modifier and Type | Method and Description |
---|---|
IlvActivity |
getFromActivity()
Returns the source or From activity for this constraint.
|
IlvActivity |
getToActivity()
Returns the target or To activity for this constraint.
|
IlvConstraintType |
getType()
Returns the type of this constraint.
|
void |
setType(IlvConstraintType type)
Sets the type of this constraint.
|
fireEvent, fireTypeAboutToChange, fireTypeChanged, getGanttModel, paramString, setGanttModelImpl, toString
public IlvSimpleConstraint(IlvActivity fromActivity, IlvActivity toActivity, IlvConstraintType type)
IlvSimpleConstraint
from the specified
from-activity, to-activity, and type.public IlvActivity getFromActivity()
public IlvActivity getToActivity()
public IlvConstraintType getType()
public void setType(IlvConstraintType type)
type
- The constraint type.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.