📄 delimiter.java
字号:
/**
* The file is generated by BorlandXML.
*/
package com.prudsys.pdm.Adapters.PmmlVersion20;
/**
* The Delimiter class represents the element "Delimiter" with the content
* model defined as follows:
* <p>
* <!ELEMENT Delimiter EMPTY><br>
*/
public class Delimiter extends com.borland.xml.toolkit.EmptyElement
{
/** xml tag name of this element. */
public static String _tagName = "Delimiter";
/** Defines a delimiter attribute */
public com.borland.xml.toolkit.Attribute delimiter = new com.borland.xml.toolkit.Attribute("delimiter", "(sameTimeWindow | acrossTimeWindows)", "REQUIRED", "");
/** Defines a gap attribute */
public com.borland.xml.toolkit.Attribute gap = new com.borland.xml.toolkit.Attribute("gap", "(true | false | unknown)", "REQUIRED", "");
/**
* Creates an empty Delimiter object.
*/
public Delimiter()
{
super();
}
/**
* Creates a Delimiter object with the specified state.
* @param state boolean value
*/
public Delimiter(boolean state)
{
super(state);
}
/**
* Gets the value of "delimiter" attribute.
*/
public String getDelimiter()
{
return delimiter.getValue();
}
/**
* Replaces the existing attribute value with a new value.
* @param value New value.
*/
public void setDelimiter(String value_)
{
delimiter.setValue(value_ );
}
/**
* Gets the value of "gap" attribute.
*/
public String getGap()
{
return gap.getValue();
}
/**
* Replaces the existing attribute value with a new value.
* @param value New value.
*/
public void setGap(String value_)
{
gap.setValue(value_ );
}
/**
* Marshals this object to an element.
*/
public com.borland.xml.toolkit.Element marshal()
{
com.borland.xml.toolkit.Element elem = super.marshal();
/** Marshals "delimiter" attribute */
elem.addAttribute(delimiter.marshal());
/** Marshals "gap" attribute */
elem.addAttribute(gap.marshal());
return elem;
}
/**
* Unmarshals the specified "Delimiter" element back to a Delimiter object.
*/
public static Delimiter unmarshal(com.borland.xml.toolkit.Element elem)
{
Delimiter __objDelimiter = (Delimiter)com.borland.xml.toolkit.EmptyElement.unmarshal(elem, new Delimiter());
if( __objDelimiter != null ) //found the element?
{
/** Unmarshals "delimiter" attribute */
__objDelimiter.delimiter.setValue(elem.getAttribute("delimiter"));
/** Unmarshals "gap" attribute */
__objDelimiter.gap.setValue(elem.getAttribute("gap"));
}
return __objDelimiter;
}
/**
* 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 + -