public class TerminationSetting extends Serializer implements Validatable
Modifier and Type | Field and Description |
---|---|
boolean |
_bHasBeenExercised
Has the component Been Exercised
|
boolean |
_bIsDefaulted
Has the component Defaulted
|
boolean |
_bIsPerpetual
Is the component Perpetual
|
NULL_SER_STRING, VERSION
Constructor and Description |
---|
TerminationSetting(boolean bIsPerpetual,
boolean bIsDefaulted,
boolean bHasBeenExercised)
Constructs the TerminationSetting object from the perpetual flag, defaulted flag, and the has
been exercised flag.
|
TerminationSetting(byte[] ab)
TerminationSetting de-serialization from input byte array
|
Modifier and Type | Method and Description |
---|---|
Serializer |
deserialize(byte[] ab)
De-serialize from a byte array.
|
static void |
main(java.lang.String[] astrArgs) |
byte[] |
serialize()
Serialize into a byte array.
|
boolean |
validate()
Validates the current object state
|
getCollectionKeyValueDelimiter, getCollectionMultiLevelKeyDelimiter, getCollectionRecordDelimiter, getFieldDelimiter, getObjectTrailer
public boolean _bIsPerpetual
public boolean _bIsDefaulted
public boolean _bHasBeenExercised
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 TerminationSetting(byte[] ab) throws java.lang.Exception
ab
- Byte Arrayjava.lang.Exception
- Thrown if TerminationSetting cannot be properly de-serializedpublic boolean validate()
Validatable
validate
in interface Validatable
public byte[] serialize()
Serializer
serialize
in class Serializer
public Serializer deserialize(byte[] ab)
Serializer
deserialize
in class Serializer
public static final void main(java.lang.String[] astrArgs) throws java.lang.Exception
java.lang.Exception