public final class LinkConstraint extends Object
Constructor and Description |
---|
LinkConstraint(Node a,
Node b,
Integer temporalOrder,
LinkConstraintMethod method,
LinkConstraintFailureMode failureMode)
Initializes a new instance of the
LinkConstraint class. |
LinkConstraint(Node a,
Node b,
LinkConstraintMethod method,
LinkConstraintFailureMode failureMode)
Initializes a new instance of the
LinkConstraint class. |
Modifier and Type | Method and Description |
---|---|
Node |
getA()
Gets the first node involved in the constraint.
|
Node |
getB()
Gets the second node involved in the constraint.
|
LinkConstraintFailureMode |
getFailureMode()
Gets the action to take when this link constraint is violated.
|
LinkConstraintMethod |
getMethod()
|
Integer |
getTemporalOrder()
Gets the temporal order of the constraint.
|
public LinkConstraint(Node a, Node b, LinkConstraintMethod method, LinkConstraintFailureMode failureMode)
LinkConstraint
class.a
- The first node in the link constraint.b
- The second node in the link constraint.method
- The constraint method.failureMode
- The action taken if the link constraint is violated.NullPointerException
- Raised if either [a] or [b] is null.public LinkConstraint(Node a, Node b, Integer temporalOrder, LinkConstraintMethod method, LinkConstraintFailureMode failureMode)
LinkConstraint
class.a
- The first node in the link constraint.b
- The second node in the link constraint.temporalOrder
- The order of the temporal link constraint (temporal nodes only).method
- The constraint method.failureMode
- The action taken if the link constraint is violated.NullPointerException
- Raised if either [a] or [b] is null.public Node getA()
getMethod()
.getMethod()
public Node getB()
getMethod()
.getMethod()
public Integer getTemporalOrder()
public LinkConstraintMethod getMethod()
public LinkConstraintFailureMode getFailureMode()
Copyright © 2023. All rights reserved.