📄 sparsegridcoefficients.java
字号:
/**
* This file is generated by BorlandXML.
*/
package com.prudsys.pdm.Adapters.PmmlVersion20;
/**
* The SparseGridCoefficients class represents the element "SparseGridCoefficients" with the content
* model defined as follows:
* <p>
* <!ELEMENT SparseGridCoefficients (#PCDATA)><br>
*/
public class SparseGridCoefficients extends com.borland.xml.toolkit.TextElement
{
/** xml tag name of this element. */
public static String _tagName = "SparseGridCoefficients";
/** Defines a numberOfCoefficients attribute */
public com.borland.xml.toolkit.Attribute numberOfCoefficients = new com.borland.xml.toolkit.Attribute("numberOfCoefficients", "CDATA", "REQUIRED", "");
/**
* Creates an empty SparseGridCoefficients object.
*/
public SparseGridCoefficients()
{
super();
}
/**
* Creates a SparseGridCoefficients object with the specified text.
*/
public SparseGridCoefficients(String text)
{
super(text);
}
/**
* Gets the value of "numberOfCoefficients" attribute.
*/
public String getNumberOfCoefficients()
{
return numberOfCoefficients.getValue();
}
/**
* Replaces the existing attribute value with a new value.
* @param value New value.
*/
public void setNumberOfCoefficients(String value_)
{
numberOfCoefficients.setValue(value_ );
}
/**
* Marshals this object to an element.
*/
public com.borland.xml.toolkit.Element marshal()
{
com.borland.xml.toolkit.Element elem = super.marshal();
/** Marshals "numberOfCoefficients" attribute */
elem.addAttribute(numberOfCoefficients.marshal());
return elem;
}
/**
* Unmarshals the specified "SparseGridCoefficients" element back to a SparseGridCoefficients object.
*/
public static SparseGridCoefficients unmarshal(com.borland.xml.toolkit.Element elem)
{
SparseGridCoefficients __objSparseGridCoefficients = (SparseGridCoefficients)com.borland.xml.toolkit.TextElement.unmarshal(elem, new SparseGridCoefficients());
if( __objSparseGridCoefficients != null ) //found the element?
{
/** Unmarshals "numberOfCoefficients" attribute */
__objSparseGridCoefficients.numberOfCoefficients.setValue(elem.getAttribute("numberOfCoefficients"));
}
return __objSparseGridCoefficients;
}
/**
* 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 + -