📄 cobolfield.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.COBOLData;
/**
* Represents fields that appear in COBOL record descriptions. COBOLField
* instances are associated with their owning RecordDef or Group instances via the
* UML owner/feature association between Feature and Classifier.
*
*
*
* The VALUE IS clause for a COBOLField instance is stored in the initialValue
* attribute inherited from the UML Attribute superclass.
*
*
*
* The "occurs-depending" syntax that may be attached to a COBOLField instance is
* addressed by a collection of attributes (occursLower and occursUpper) and a
* reference (dependingOnField). To illustrate the roles these attributes and
* references play, their names can be substituted into the following COBOL syntax
* fragment:
*
*
*
* OCCURS occursLower TO occursUpper TIMES DEPENDING ON dependingOnField
*/
public class COBOLField extends COBOLItem
{
/**
* The level number of a COBOLField.
*/
public Integer level;
/**
* The type of sign for the field.
*/
public SignKindType signKind;
/**
* If True, the field is a filler field.
*/
public Boolean isFiller;
/**
* If True, the content of the field is right justified.
*/
public Boolean isJustifiedRight;
/**
* If True, the field is interpreted as having the numeric value zero when the
* field contains blanks.
*/
public Boolean isBlankWhenZero;
/**
* If True, the field is synchronized.
*/
public Boolean isSynchronized;
/**
* Contains the picture specification for the field.
*/
public String picture;
/**
* If the field occurs, contains the lower bound of the number of possible
* occurrences.
*/
public Integer occursLower;
/**
* If the field occurs, contains the upper bound of the number of possible
* occurrences.
*/
public Integer occursUpper;
/**
* A list of strings that are the names obtained from the INDEXED BY clause.
*/
public String indexName;
/**
* If True, the field is external.
*/
public Boolean isExternal;
/**
* If True, the field is global.
*/
public Boolean isGlobal;
public COBOLItem dependingOnField;
public COBOLField redefinedField;
public COBOLField redefinedByField[];
public OccursKey occursKeyInfo[];
public OccursKey occursKeyFieldInfo[];
public Renames firstRenames[];
public Renames thruRenames[];
public COBOLField()
{
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -