public final class X12FramingSettings extends Object
Constructor and Description |
---|
X12FramingSettings() |
Modifier and Type | Method and Description |
---|---|
X12CharacterSet |
characterSet()
Get the characterSet property: The X12 character set.
|
int |
componentSeparator()
Get the componentSeparator property: The component separator.
|
int |
dataElementSeparator()
Get the dataElementSeparator property: The data element separator.
|
int |
replaceCharacter()
Get the replaceCharacter property: The replacement character.
|
boolean |
replaceSeparatorsInPayload()
Get the replaceSeparatorsInPayload property: The value indicating whether to replace separators in payload.
|
int |
segmentTerminator()
Get the segmentTerminator property: The segment terminator.
|
SegmentTerminatorSuffix |
segmentTerminatorSuffix()
Get the segmentTerminatorSuffix property: The segment terminator suffix.
|
void |
validate()
Validates the instance.
|
X12FramingSettings |
withCharacterSet(X12CharacterSet characterSet)
Set the characterSet property: The X12 character set.
|
X12FramingSettings |
withComponentSeparator(int componentSeparator)
Set the componentSeparator property: The component separator.
|
X12FramingSettings |
withDataElementSeparator(int dataElementSeparator)
Set the dataElementSeparator property: The data element separator.
|
X12FramingSettings |
withReplaceCharacter(int replaceCharacter)
Set the replaceCharacter property: The replacement character.
|
X12FramingSettings |
withReplaceSeparatorsInPayload(boolean replaceSeparatorsInPayload)
Set the replaceSeparatorsInPayload property: The value indicating whether to replace separators in payload.
|
X12FramingSettings |
withSegmentTerminator(int segmentTerminator)
Set the segmentTerminator property: The segment terminator.
|
X12FramingSettings |
withSegmentTerminatorSuffix(SegmentTerminatorSuffix segmentTerminatorSuffix)
Set the segmentTerminatorSuffix property: The segment terminator suffix.
|
public int dataElementSeparator()
public X12FramingSettings withDataElementSeparator(int dataElementSeparator)
dataElementSeparator
- the dataElementSeparator value to set.public int componentSeparator()
public X12FramingSettings withComponentSeparator(int componentSeparator)
componentSeparator
- the componentSeparator value to set.public boolean replaceSeparatorsInPayload()
public X12FramingSettings withReplaceSeparatorsInPayload(boolean replaceSeparatorsInPayload)
replaceSeparatorsInPayload
- the replaceSeparatorsInPayload value to set.public int replaceCharacter()
public X12FramingSettings withReplaceCharacter(int replaceCharacter)
replaceCharacter
- the replaceCharacter value to set.public int segmentTerminator()
public X12FramingSettings withSegmentTerminator(int segmentTerminator)
segmentTerminator
- the segmentTerminator value to set.public X12CharacterSet characterSet()
public X12FramingSettings withCharacterSet(X12CharacterSet characterSet)
characterSet
- the characterSet value to set.public SegmentTerminatorSuffix segmentTerminatorSuffix()
public X12FramingSettings withSegmentTerminatorSuffix(SegmentTerminatorSuffix segmentTerminatorSuffix)
segmentTerminatorSuffix
- the segmentTerminatorSuffix value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.