public class TerminationSetting extends java.lang.Object implements Validatable
Constructor and Description |
---|
TerminationSetting(boolean bIsPerpetual,
boolean bIsDefaulted,
boolean bHasBeenExercised)
Construct the TerminationSetting object from the perpetual flag, defaulted flag, and the has
been exercised flag.
|
Modifier and Type | Method and Description |
---|---|
boolean |
defaulted()
Indicate if the contract has defaulted
|
boolean |
exercised()
Indicate if the contract has been exercised
|
boolean |
perpetual()
Indicate if the contract is perpetual
|
boolean |
validate()
Validate the current object state
|
public TerminationSetting(boolean bIsPerpetual, boolean bIsDefaulted, boolean bHasBeenExercised)
bIsPerpetual
- True (component is perpetual)bIsDefaulted
- True (component has defaulted)bHasBeenExercised
- True (component has been exercised)public boolean validate()
Validatable
validate
in interface Validatable
public boolean defaulted()
public boolean perpetual()
public boolean exercised()