📄 aggregate.java
字号:
/**
* The file is generated by BorlandXML.
*/
package com.prudsys.pdm.Adapters.PmmlVersion20;
/**
* The Aggregate class represents the element "Aggregate" with the content
* model defined as follows:
* <p>
* <!ELEMENT Aggregate EMPTY><br>
*/
public class Aggregate extends com.borland.xml.toolkit.EmptyElement
{
/**
*
*/
private static final long serialVersionUID = 1L;
/** xml tag name of this element. */
public static String _tagName = "Aggregate";
/** Defines a function attribute */
public com.borland.xml.toolkit.Attribute function = new com.borland.xml.toolkit.Attribute("function", "(count | sum | average | min | max | multiset)", "REQUIRED", "");
/** Defines a groupField attribute */
public com.borland.xml.toolkit.Attribute groupField = new com.borland.xml.toolkit.Attribute("groupField", "CDATA", "IMPLIED", "");
/** Defines a sqlWhere attribute */
public com.borland.xml.toolkit.Attribute sqlWhere = new com.borland.xml.toolkit.Attribute("sqlWhere", "CDATA", "IMPLIED", "");
/** Defines a field attribute */
public com.borland.xml.toolkit.Attribute field = new com.borland.xml.toolkit.Attribute("field", "CDATA", "REQUIRED", "");
/**
* Creates an empty Aggregate object.
*/
public Aggregate()
{
super();
}
/**
* Creates a Aggregate object with the specified state.
* @param state boolean value
*/
public Aggregate(boolean state)
{
super(state);
}
/**
* Gets the value of "function" attribute.
*/
public String getFunction()
{
return function.getValue();
}
/**
* Replaces the existing attribute value with a new value.
* @param value New value.
*/
public void setFunction(String value_)
{
function.setValue(value_ );
}
/**
* Gets the value of "groupField" attribute.
*/
public String getGroupField()
{
return groupField.getValue();
}
/**
* Replaces the existing attribute value with a new value.
* @param value New value.
*/
public void setGroupField(String value_)
{
groupField.setValue(value_ );
}
/**
* Gets the value of "sqlWhere" attribute.
*/
public String getSqlWhere()
{
return sqlWhere.getValue();
}
/**
* Replaces the existing attribute value with a new value.
* @param value New value.
*/
public void setSqlWhere(String value_)
{
sqlWhere.setValue(value_ );
}
/**
* Gets the value of "field" attribute.
*/
public String getField()
{
return field.getValue();
}
/**
* Replaces the existing attribute value with a new value.
* @param value New value.
*/
public void setField(String value_)
{
field.setValue(value_ );
}
/**
* Marshals this object to an element.
*/
public com.borland.xml.toolkit.Element marshal()
{
com.borland.xml.toolkit.Element elem = super.marshal();
/** Marshals "function" attribute */
elem.addAttribute(function.marshal());
/** Marshals "groupField" attribute */
elem.addAttribute(groupField.marshal());
/** Marshals "sqlWhere" attribute */
elem.addAttribute(sqlWhere.marshal());
/** Marshals "field" attribute */
elem.addAttribute(field.marshal());
return elem;
}
/**
* Unmarshals the specified "Aggregate" element back to a Aggregate object.
*/
public static Aggregate unmarshal(com.borland.xml.toolkit.Element elem)
{
Aggregate __objAggregate = (Aggregate)com.borland.xml.toolkit.EmptyElement.unmarshal(elem, new Aggregate());
if( __objAggregate != null ) //found the element?
{
/** Unmarshals "function" attribute */
__objAggregate.function.setValue(elem.getAttribute("function"));
/** Unmarshals "groupField" attribute */
__objAggregate.groupField.setValue(elem.getAttribute("groupField"));
/** Unmarshals "sqlWhere" attribute */
__objAggregate.sqlWhere.setValue(elem.getAttribute("sqlWhere"));
/** Unmarshals "field" attribute */
__objAggregate.field.setValue(elem.getAttribute("field"));
}
return __objAggregate;
}
/**
* 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 + -