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

📄 binarysimilarity.java

📁 一个数据挖掘软件ALPHAMINERR的整个过程的JAVA版源代码
💻 JAVA
字号:
/**
 * The file is generated by BorlandXML.
 */

package com.prudsys.pdm.Adapters.PmmlVersion20;

/**
 * The BinarySimilarity class represents the element "binarySimilarity" with the content
 * model defined as follows:
 * <p>
 * &lt;!ELEMENT binarySimilarity EMPTY&gt;<br>
 */
public class BinarySimilarity extends com.borland.xml.toolkit.EmptyElement 
{
	/** xml tag name of this element. */
	public static String _tagName = "binarySimilarity";
	/** Defines a d01_parameter attribute */
	public com.borland.xml.toolkit.Attribute d01_parameter = new com.borland.xml.toolkit.Attribute("d01_parameter", "CDATA", "REQUIRED", "");
	/** Defines a d10_parameter attribute */
	public com.borland.xml.toolkit.Attribute d10_parameter = new com.borland.xml.toolkit.Attribute("d10_parameter", "CDATA", "REQUIRED", "");
	/** Defines a c00_parameter attribute */
	public com.borland.xml.toolkit.Attribute c00_parameter = new com.borland.xml.toolkit.Attribute("c00_parameter", "CDATA", "REQUIRED", "");
	/** Defines a d11_parameter attribute */
	public com.borland.xml.toolkit.Attribute d11_parameter = new com.borland.xml.toolkit.Attribute("d11_parameter", "CDATA", "REQUIRED", "");
	/** Defines a c01_parameter attribute */
	public com.borland.xml.toolkit.Attribute c01_parameter = new com.borland.xml.toolkit.Attribute("c01_parameter", "CDATA", "REQUIRED", "");
	/** Defines a c10_parameter attribute */
	public com.borland.xml.toolkit.Attribute c10_parameter = new com.borland.xml.toolkit.Attribute("c10_parameter", "CDATA", "REQUIRED", "");
	/** Defines a d00_parameter attribute */
	public com.borland.xml.toolkit.Attribute d00_parameter = new com.borland.xml.toolkit.Attribute("d00_parameter", "CDATA", "REQUIRED", "");
	/** Defines a c11_parameter attribute */
	public com.borland.xml.toolkit.Attribute c11_parameter = new com.borland.xml.toolkit.Attribute("c11_parameter", "CDATA", "REQUIRED", "");

	/**
	 * Creates an empty BinarySimilarity object.
	 */
	public BinarySimilarity()
	{
		super();
	}

	/**
	 * Creates a BinarySimilarity object with the specified state.
	 * @param state	boolean value
	 */
	public BinarySimilarity(boolean state)
	{
		super(state);
	}

	/**
	 * Gets the value of "d01_parameter" attribute.
	 */
	public String getD01Parameter()
	{
		return d01_parameter.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setD01Parameter(String value_)
	{
		d01_parameter.setValue(value_ );
	}

	/**
	 * Gets the value of "d10_parameter" attribute.
	 */
	public String getD10Parameter()
	{
		return d10_parameter.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setD10Parameter(String value_)
	{
		d10_parameter.setValue(value_ );
	}

	/**
	 * Gets the value of "c00_parameter" attribute.
	 */
	public String getC00Parameter()
	{
		return c00_parameter.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setC00Parameter(String value_)
	{
		c00_parameter.setValue(value_ );
	}

	/**
	 * Gets the value of "d11_parameter" attribute.
	 */
	public String getD11Parameter()
	{
		return d11_parameter.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setD11Parameter(String value_)
	{
		d11_parameter.setValue(value_ );
	}

	/**
	 * Gets the value of "c01_parameter" attribute.
	 */
	public String getC01Parameter()
	{
		return c01_parameter.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setC01Parameter(String value_)
	{
		c01_parameter.setValue(value_ );
	}

	/**
	 * Gets the value of "c10_parameter" attribute.
	 */
	public String getC10Parameter()
	{
		return c10_parameter.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setC10Parameter(String value_)
	{
		c10_parameter.setValue(value_ );
	}

	/**
	 * Gets the value of "d00_parameter" attribute.
	 */
	public String getD00Parameter()
	{
		return d00_parameter.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setD00Parameter(String value_)
	{
		d00_parameter.setValue(value_ );
	}

	/**
	 * Gets the value of "c11_parameter" attribute.
	 */
	public String getC11Parameter()
	{
		return c11_parameter.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setC11Parameter(String value_)
	{
		c11_parameter.setValue(value_ );
	}

	/**
	 * Marshals this object to an element.
	 */
	public com.borland.xml.toolkit.Element marshal()
	{
		com.borland.xml.toolkit.Element elem = super.marshal();
		/** Marshals "d01_parameter" attribute */
		elem.addAttribute(d01_parameter.marshal());
		/** Marshals "d10_parameter" attribute */
		elem.addAttribute(d10_parameter.marshal());
		/** Marshals "c00_parameter" attribute */
		elem.addAttribute(c00_parameter.marshal());
		/** Marshals "d11_parameter" attribute */
		elem.addAttribute(d11_parameter.marshal());
		/** Marshals "c01_parameter" attribute */
		elem.addAttribute(c01_parameter.marshal());
		/** Marshals "c10_parameter" attribute */
		elem.addAttribute(c10_parameter.marshal());
		/** Marshals "d00_parameter" attribute */
		elem.addAttribute(d00_parameter.marshal());
		/** Marshals "c11_parameter" attribute */
		elem.addAttribute(c11_parameter.marshal());
		return elem;
	}

	/**
	 * Unmarshals the specified "binarySimilarity" element back to a BinarySimilarity object.
	 */
	public static BinarySimilarity unmarshal(com.borland.xml.toolkit.Element elem)
	{
		BinarySimilarity __objBinarySimilarity = (BinarySimilarity)com.borland.xml.toolkit.EmptyElement.unmarshal(elem, new BinarySimilarity());
		if( __objBinarySimilarity != null ) //found the element?
		{
			/** Unmarshals "d01_parameter" attribute */
			__objBinarySimilarity.d01_parameter.setValue(elem.getAttribute("d01_parameter"));
			/** Unmarshals "d10_parameter" attribute */
			__objBinarySimilarity.d10_parameter.setValue(elem.getAttribute("d10_parameter"));
			/** Unmarshals "c00_parameter" attribute */
			__objBinarySimilarity.c00_parameter.setValue(elem.getAttribute("c00_parameter"));
			/** Unmarshals "d11_parameter" attribute */
			__objBinarySimilarity.d11_parameter.setValue(elem.getAttribute("d11_parameter"));
			/** Unmarshals "c01_parameter" attribute */
			__objBinarySimilarity.c01_parameter.setValue(elem.getAttribute("c01_parameter"));
			/** Unmarshals "c10_parameter" attribute */
			__objBinarySimilarity.c10_parameter.setValue(elem.getAttribute("c10_parameter"));
			/** Unmarshals "d00_parameter" attribute */
			__objBinarySimilarity.d00_parameter.setValue(elem.getAttribute("d00_parameter"));
			/** Unmarshals "c11_parameter" attribute */
			__objBinarySimilarity.c11_parameter.setValue(elem.getAttribute("c11_parameter"));
		}
		return __objBinarySimilarity;
	}

	/**
	 * Validates this object. If you pass <code>true</code> to this method, it
	 * checks for the first error and stops. On the other hand, if you pass
	 * <code>false</code> to this method, it collects all the errors by
	 * visiting every available elements.
	 * @param firstError	<code>true</code> to exit this method when the first error
	 * is found; <code>false</code> to collect all errors.
	 * @return com.borland.xml.toolkit.ErrorList	A list that contains one or more errors.
	 * @see com.borland.xml.toolkit.XmlObject#validate()
	 * @see com.borland.xml.toolkit.XmlObject#isValid()
	 * @see com.borland.xml.toolkit.ErrorList
	 */
	public com.borland.xml.toolkit.ErrorList validate(boolean firstError)
	{
		com.borland.xml.toolkit.ErrorList errors = new com.borland.xml.toolkit.ErrorList();


		return errors.size()==0 ? null : errors;
	}


	/**
	 * Gets the tag name of this element.
	 */
	public String get_TagName()
	{
		return _tagName;
	}
}

⌨️ 快捷键说明

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