📄 segment.java
字号:
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/**
* Title: XELOPES Data Mining Library
* Description: The XELOPES library is an open platform-independent and data-source-independent library for Embedded Data Mining.
* Copyright: Copyright (c) 2002 Prudential Systems Software GmbH
* Company: ZSoft (www.zsoft.ru), Prudsys (www.prudsys.com)
* @author Valentine Stepanenko (valentine.stepanenko@zsoft.ru)
* @version 1.0
*/
package com.prudsys.pdm.Cwm.IMSDatabase;
import com.prudsys.pdm.Cwm.IMSDatabase.IMSTypes.ChildPointerType;
import com.prudsys.pdm.Cwm.IMSDatabase.IMSTypes.RulesType;
import com.prudsys.pdm.Cwm.Record.RecordDef;
/**
* An instance of this object class represents a segment within a DBD user object.
* A segment is the IMS-view of a data structure that maps the fields in the
* segment.
*/
public class Segment extends RecordDef
{
/**
* This attribute is a flag to indicate whether a segment will use the data
* capture exits specified on the DBD. A valid of FALSE maps to use of EXIT=NONE
* parameter on the SEGM macro. This flag has no meaning when exits points to any
* instances of PropagatedBy.
*/
public Boolean exitFlag;
/**
* This attribute holds estimated number of times that this segment will occur for
* each occurrence of its physical parent.
*/
public String frequency;
/**
* This attribute holds the length of a fixed-length segment, or the maximum
* length of a variable length segment.
*/
public Integer maximumLength;
/**
* This attribute holds the minimum length of a variable length segment.
*/
public Integer minimumLength;
/**
* This attributes holds the value that indicates where to place new occurrences
* of this segment type in the physical database.
*/
public RulesType rules;
/**
* This attribute holds the number of subset pointers in a direct dependent
* segment in a DEDB DBD. Valid values are 0-8.
*/
public String subsetPointers;
/**
* This attribute indicates whether the segment is direct dependent or sequential.
* A value of TRUE specifies use of DIR as the segment type on the generated DBD.
* A value of FALSE specifies use of SEQ on the generated DBD. This attribute is
* ignored for the root segment of the DBD user object.
*/
public Boolean directDependent;
/**
* This attribute describes the type of physical child pointer to be stored in the
* prefix area of the segment in the DBD. Valid Values are SNGL, DBLE, null
*/
public ChildPointerType pcPointer;
public Exit exit;
public Segment child;
public Segment parent;
public SegmentLogical logical;
public DBD dbd;
public SenSegment senseg[];
public Segment()
{
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -