📄 view.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.Relational;
import com.prudsys.pdm.Cwm.DataTypes.QueryExpression;
/**
* A view is a non-materialized set of rows, defined by the associated query.
*/
public class View extends NamedColumnSet implements org.omg.cwm.resource.relational.View
{
/**
* Indicates whether the underlying tables can be updated through an update to
* this View.
*/
public com.prudsys.pdm.Cwm.Core.Boolean isReadOnly;
/**
* This field is meaningful only if the view is not ReadOnly. CheckOption
* indicates that the RDBMS will validate that changes made to the data verify the
* view filtering condition and belong to the view result set.
*/
public com.prudsys.pdm.Cwm.Core.Boolean checkOption;
/**
* The query associated with the View.
*
*
*
* The query result must match the set of Columns associated with the View (in
* parent class ColumnSet)
*/
public QueryExpression queryExpression;
public View()
{
}
public java.lang.Boolean getIsReadOnly() {
return isReadOnly.getBoolean();
}
public void setIsReadOnly(java.lang.Boolean isReadOnly) {
com.prudsys.pdm.Cwm.Core.Boolean b = new com.prudsys.pdm.Cwm.Core.Boolean();
b.setBoolean(isReadOnly);
this.isReadOnly = b;
}
public boolean isReadOnlyValue() {
return isReadOnly.isBooleanValue();
}
public void setIsReadOnly(boolean isReadOnly) {
setIsReadOnly(new java.lang.Boolean(isReadOnly));
}
public java.lang.Boolean getCheckOption() {
return checkOption.getBoolean();
}
public void setCheckOption(Boolean checkOption) {
com.prudsys.pdm.Cwm.Core.Boolean b = new com.prudsys.pdm.Cwm.Core.Boolean();
b.setBoolean(checkOption);
this.checkOption = b;
}
public boolean isCheckOptionValue() {
return checkOption.isBooleanValue();
}
public void setCheckOption(boolean checkOption) {
setCheckOption(new java.lang.Boolean(checkOption));
}
public org.omg.cwm.foundation.datatypes.QueryExpression getQueryExpression() {
return queryExpression;
}
public void setQueryExpression(org.omg.cwm.foundation.datatypes.QueryExpression queryExpression) {
this.queryExpression = (QueryExpression) queryExpression;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -