public interface AbstractSegment extends AbstractRadicalElement
A Segment is made of a structured collection of data elements (elementary or group) and belong to a Data Structure.
Each segment, described only once, can be called into any entity that uses segments (programs, screens, segments or database blocks).
A lot of information may be coded on the Segment definition and description lines. This information may be used according to the way the segment is used by other modules of the System (Pactables, BATCH, DBD..).
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
copyright |
Modifier and Type | Method and Description |
---|---|
java.util.List<CELines> |
getCELines()
The CELines allow to identify the elements which compose the current Segment : Data Element Component, Segment Component, undefined Data Element Component, Group Component and Filler. |
DataStructure |
getDataStructure()
Gives the Data Structure which supports this segment.
|
java.util.List<GLine> |
getGELines()
GELines are used to declare explicit error messages on a Segment or replace automatically generated error messages on the elements called on the -CE Lines of a Segment.
|
Library |
getGenerationLibrary()
Indicates the Library on which we can find the generation parameters for the entity. |
java.util.List<GLine> |
getGGLines()
The GGLines are used to customize the SQL accesses.
|
java.util.List<GLine> |
getGOLines()
GOLines are used to enter generation options for the uppercase-lowercase management in customized SQL accesses.
|
java.util.List<LevelAddressLength> |
getLevelAddressLength()
Returns the list of LAL for this segment.
|
int |
getOccurrencesNumber()
This field is used to specify the estimated number of occurrences for a Segment in a database or in a standard file.
|
Statistics |
getStatistics()
Returns the statistics for this segment.
|
int |
getTableSize()
It is the amount of space reserved for a Segment in memory.
|
SegmentTypeValues |
getType()
The type of the Segment depends on the type of the data structure.
|
getGCLines
getCalledEntities, getDescriptionTypes, getKeywords, getLabel, getName, getPackage, getProject
static final java.lang.String copyright
java.util.List<CELines> getCELines()
The CELines allow to identify the elements which compose the current Segment : Data Element Component, Segment Component, undefined Data Element Component, Group Component and Filler.
DataStructure getDataStructure()
Gives the Data Structure which supports this segment.
java.util.List<GLine> getGELines()
GELines are used to declare explicit error messages on a Segment or replace automatically generated error messages on the elements called on the -CE Lines of a Segment.
Library getGenerationLibrary()
Indicates the Library on which we can find the generation parameters for the entity.
These parameters are related to the adaptation to the operating system in use.
java.util.List<GLine> getGGLines()
The GGLines are used to customize the SQL accesses.
java.util.List<GLine> getGOLines()
GOLines are used to enter generation options for the uppercase-lowercase management in customized SQL accesses.
java.util.List<LevelAddressLength> getLevelAddressLength()
Returns the list of LAL for this segment.
int getOccurrencesNumber()
This field is used to specify the estimated number of occurrences for a Segment in a database or in a standard file.
Statistics getStatistics()
Returns the statistics for this segment.
int getTableSize()
It is the amount of space reserved for a Segment in memory. Its length is four numeric characters maximum:
The Data Structure of the Segment is used in a Program as a table. By default, the default value at generation time is 100,
The type of record description incorporates the number of OCCURS indicated here.
SegmentTypeValues getType()
The type of the Segment depends on the type of the data structure. It can be a Segment , a Pactables table or a Logical View.