⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 taggedvalue.java

📁 一个数据挖掘软件ALPHAMINERR的整个过程的JAVA版源代码
💻 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.Core;

/**
 * A tagged value allows information to be attached to any model element in the
 * form of a "tagged value" pair (i.e., name = value). The interpretation of
 * tagged value semantics is intentionally beyond the scope of CWM. It must be
 * determined by user or tool conventions. It is expected that tools will define
 * tags to supply information needed for their operations beyond the basic
 * semantics of CWM. Such information could include code generation options, model
 * management information, or user-specified semantics.
 *
 *
 *
 * Even though TaggedValues are a simple and straightforward extension technique,
 * their use restricts semantic interchange of metadata to only those tools that
 * share a common understanding of the specific tagged value names.
 */

public class TaggedValue extends Element implements org.omg.cwm.objectmodel.core.TaggedValue
{

   /**
    * Contains the name of the TaggedValue. This name determines the semantics that
    * are applicable to the contents of the value attribute.
    */
   public Name tag;

   /**
    * Contains the current value of the TaggedValue.
    */
   public String value;
   public Stereotype stereotype;
   public ModelElement modelElement;

   /**
    * @roseuid 3C5E9663038C
    */
   public TaggedValue()
   {

   }

   public java.lang.String getTag() {
     return tag.getString();
   }

   public void setTag(java.lang.String tag) {
     Name n = new Name();
     n.setString(tag);
     this.tag = n;
   }

   public java.lang.String getValue() {
     return value.getString();
   }

   public void setValue(java.lang.String value) {
     String s = new String();
     s.setString(value);
     this.value = s;
   }

   public org.omg.cwm.objectmodel.core.ModelElement getModelElement() {
     return modelElement;
   }

   public void setModelElement(org.omg.cwm.objectmodel.core.ModelElement modelElement) {
     this.modelElement = (ModelElement) modelElement;
   }

   public org.omg.cwm.objectmodel.core.Stereotype getStereotype() {
     return stereotype;
   }

   public void setStereotype(org.omg.cwm.objectmodel.core.Stereotype stereotype) {
     this.stereotype = (Stereotype) stereotype;
   }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -