public static class IlvGeneralConstraint.Factory extends Object implements IlvConstraintFactory
IlvGeneralConstraint.Factory
is a factory that creates
instances of IlvGeneralConstraint
.Constructor and Description |
---|
Factory()
Creates an
IlvGeneralConstraint factory. |
Modifier and Type | Method and Description |
---|---|
IlvConstraint |
createConstraint(IlvActivity from,
IlvActivity to,
IlvConstraintType type)
Creates an
IlvGeneralConstraint object from the given parameters. |
public Factory()
IlvGeneralConstraint
factory.public IlvConstraint createConstraint(IlvActivity from, IlvActivity to, IlvConstraintType type)
IlvGeneralConstraint
object from the given parameters.createConstraint
in interface IlvConstraintFactory
from
- The source activity of the constraint.to
- The destination activity of the constraint.type
- The type of the constraint.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.