?? coefficient.java
字號(hào):
/**
* The file is generated by BorlandXML.
*/
package com.prudsys.pdm.Adapters.PmmlVersion20;
/**
* The Coefficient class represents the element "Coefficient" with the content
* model defined as follows:
* <p>
* <!ELEMENT Coefficient EMPTY><br>
*/
public class Coefficient extends com.borland.xml.toolkit.EmptyElement
{
/** xml tag name of this element. */
public static String _tagName = "Coefficient";
/** Defines a value attribute */
public com.borland.xml.toolkit.Attribute value = new com.borland.xml.toolkit.Attribute("value", "CDATA", "REQUIRED", "");
/**
* Creates an empty Coefficient object.
*/
public Coefficient()
{
super();
}
/**
* Creates a Coefficient object with the specified state.
* @param state boolean value
*/
public Coefficient(boolean state)
{
super(state);
}
/**
* Gets the value of "value" attribute.
*/
public String getValue()
{
return value.getValue();
}
/**
* Replaces the existing attribute value with a new value.
* @param value New value.
*/
public void setValue(String value_)
{
value.setValue(value_ );
}
/**
* Marshals this object to an element.
*/
public com.borland.xml.toolkit.Element marshal()
{
com.borland.xml.toolkit.Element elem = super.marshal();
/** Marshals "value" attribute */
elem.addAttribute(value.marshal());
return elem;
}
/**
* Unmarshals the specified "Coefficient" element back to a Coefficient object.
*/
public static Coefficient unmarshal(com.borland.xml.toolkit.Element elem)
{
Coefficient __objCoefficient = (Coefficient)com.borland.xml.toolkit.EmptyElement.unmarshal(elem, new Coefficient());
if( __objCoefficient != null ) //found the element?
{
/** Unmarshals "value" attribute */
__objCoefficient.value.setValue(elem.getAttribute("value"));
}
return __objCoefficient;
}
/**
* 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;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -