📄 instance.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.Instance;
import com.prudsys.pdm.Cwm.Core.Classifier;
import com.prudsys.pdm.Cwm.Core.ModelElement;
/**
* The instance construct defines an entity to which a set of operations can be
* applied and which has a state that stores the effects of the operations. In the
* metamodel Instance is connected to a Classifier that declares its structure and
* behavior. It has a set of attribute values matching the definition of its
* Classifier. The set of attribute values implements the current state of the
* Instance. Because Instance is an abstract class, all Instances are either
* Object or DataValue instances.
*
*
*
* The data content of an Instance comprises one value for each attribute in its
* full descriptor (and nothing more). The value must be consistent with the type
* of the attribute. An instance must obey any constraints on the full descriptor
* of the Classifier
*
* of which it is an instance (including both explicit constraints and built-in
* constraints such as multiplicity).
*/
public abstract class Instance extends ModelElement implements org.omg.cwm.objectmodel.instance.Instance
{
public Slot valueSlot[];
public Classifier classifier;
public Instance()
{
}
public org.omg.cwm.objectmodel.core.Classifier getClassifier() {
return classifier;
}
public void setClassifier(org.omg.cwm.objectmodel.core.Classifier classifier) {
this.classifier = (Classifier) classifier;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -