public final class IlvConstraintType extends Object implements Serializable
IlvConstraintType
represents the type of an
IlvConstraint
object defined between two activities. There is a
fixed set of four IlvConstraintType
constants that are accessed
by static variables: START_START
, START_END
,
END_START
, and END_END
.
An IlvConstraintType
constant can also be looked up using the
static get(boolean, boolean)
method. Because this class is final and its constructor
is private, no other instances of IlvConstraintType
can be
created.Modifier and Type | Field and Description |
---|---|
static IlvConstraintType |
END_END
An end-to-end constraint type.
|
static IlvConstraintType |
END_START
An end-to-start constraint type.
|
static IlvConstraintType |
START_END
A start-to-end constraint type.
|
static IlvConstraintType |
START_START
A start-to-start constraint type.
|
Modifier and Type | Method and Description |
---|---|
static IlvConstraintType |
get(boolean fromStart,
boolean toStart)
Returns one of the four predefined
IlvConstraintType constants
based upon the specified locations within the From and To
activities. |
String |
toString()
Returns a string representation of this constraint type.
|
public static final IlvConstraintType START_START
public static final IlvConstraintType START_END
public static final IlvConstraintType END_START
public static final IlvConstraintType END_END
public static IlvConstraintType get(boolean fromStart, boolean toStart)
IlvConstraintType
constants
based upon the specified locations within the From and To
activities.fromStart
- Specifies to which end of the From activity the
constraint is attached: true
if the constraint is attached
to the start of the activity or false
if it is attached to
the end of the activity.toStart
- Specifies to which end of the To activity the
constraint is attached: true
if the constraint is attached
to the start of the activity or false
if it is attached to
the end of the activity.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.