📄 providerconnection.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.SoftwareDeployment;
import com.prudsys.pdm.Cwm.Core.ModelElement;
/**
* A ProviderConnection represents a connection that allows a DataProvider acting
* as a client to access data from a specific DataManager. For example a
* ProviderConnection could represent a connection from an ODBC or JDBC client to
* a DBMS.
*/
public class ProviderConnection extends ModelElement implements org.omg.cwm.foundation.softwaredeployment.ProviderConnection
{
/**
* Indicates whether the ProviderConnection only allows read access to the
* DataManager.
*/
public com.prudsys.pdm.Cwm.Core.Boolean isReadOnly;
public DataProvider dataProvider;
public DataManager dataManager;
public ProviderConnection()
{
}
public org.omg.cwm.foundation.softwaredeployment.DataManager getDataManager() {
return dataManager;
}
public void setDataManager(org.omg.cwm.foundation.softwaredeployment.DataManager dataManager) {
this.dataManager = (DataManager) dataManager;
}
public org.omg.cwm.foundation.softwaredeployment.DataProvider getDataProvider() {
return dataProvider;
}
public void setDataProvider(org.omg.cwm.foundation.softwaredeployment.DataProvider dataProvider) {
this.dataProvider = (DataProvider) dataProvider;
}
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));
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -