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

📄 array.java

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

package com.prudsys.pdm.Adapters.PmmlVersion20;

/**
 * The Array class represents the element "Array" with the content
 * model defined as follows:
 * <p>
 * &lt;!ELEMENT Array (#PCDATA)&gt;<br>
 */
public class Array extends com.borland.xml.toolkit.TextElement 
{
	/**
	 * 
	 */
	private static final long serialVersionUID = -7838990258484904067L;
	/** xml tag name of this element. */
	public static String _tagName = "Array";
	/** Defines a type attribute */
	public com.borland.xml.toolkit.Attribute type = new com.borland.xml.toolkit.Attribute("type", "(int | real | string)", "IMPLIED", "");
	/** Defines a n attribute */
	public com.borland.xml.toolkit.Attribute n = new com.borland.xml.toolkit.Attribute("n", "CDATA", "IMPLIED", "");

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

	/**
	 * Creates a Array object with the specified text.
	 */
	public Array(String text)
	{
		super(text);
	}

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

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

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

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

	/**
	 * Marshals this object to an element.
	 */
	public com.borland.xml.toolkit.Element marshal()
	{
		com.borland.xml.toolkit.Element elem = super.marshal();
		/** Marshals "type" attribute */
		elem.addAttribute(type.marshal());
		/** Marshals "n" attribute */
		elem.addAttribute(n.marshal());
		return elem;
	}

	/**
	 * Unmarshals the specified "Array" element back to a Array object.
	 */
	public static Array unmarshal(com.borland.xml.toolkit.Element elem)
	{
		Array __objArray = (Array)com.borland.xml.toolkit.TextElement.unmarshal(elem, new Array());
		if( __objArray != null ) //found the element?
		{
			/** Unmarshals "type" attribute */
			__objArray.type.setValue(elem.getAttribute("type"));
			/** Unmarshals "n" attribute */
			__objArray.n.setValue(elem.getAttribute("n"));
		}
		return __objArray;
	}

	/**
	 * 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 + -