📄 derivedfield.java
字号:
if( firstError && errors.size() > 0 )
return errors;
}
if( !(_objConstant != null || _objFieldRef != null || _objNormContinuous != null || _objNormDiscrete != null || _objDiscretize != null) && !(_objMapValues != null) ) /** missing one or more elements? */
{
com.borland.xml.toolkit.OrErrorList errors1 = new com.borland.xml.toolkit.OrErrorList();
errors1.add(new com.borland.xml.toolkit.ElementError(this, Constant.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, FieldRef.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormContinuous.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormDiscrete.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Discretize.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValues.class));
errors.add(errors1);
if( firstError && errors.size() > 0 )
return errors;
}
}
if( _objMapValuesNum != null )
{
/** MapValuesNum is mandatory */
if( _objMapValuesNum != null )
errors.add(_objMapValuesNum.validate(firstError));
else
errors.add(new com.borland.xml.toolkit.ElementError(this, MapValuesNum.class));
if( firstError && errors.size() > 0 )
return errors;
}
if( !(_objConstant != null || _objFieldRef != null || _objNormContinuous != null || _objNormDiscrete != null || _objDiscretize != null || _objMapValues != null) && !(_objMapValuesNum != null) ) /** missing one or more elements? */
{
com.borland.xml.toolkit.OrErrorList errors1 = new com.borland.xml.toolkit.OrErrorList();
errors1.add(new com.borland.xml.toolkit.ElementError(this, Constant.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, FieldRef.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormContinuous.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormDiscrete.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Discretize.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValues.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValuesNum.class));
errors.add(errors1);
if( firstError && errors.size() > 0 )
return errors;
}
}
if( _objAggregate != null )
{
/** Aggregate is mandatory */
if( _objAggregate != null )
errors.add(_objAggregate.validate(firstError));
else
errors.add(new com.borland.xml.toolkit.ElementError(this, Aggregate.class));
if( firstError && errors.size() > 0 )
return errors;
}
if( !(_objConstant != null || _objFieldRef != null || _objNormContinuous != null || _objNormDiscrete != null || _objDiscretize != null || _objMapValues != null || _objMapValuesNum != null) && !(_objAggregate != null) ) /** missing one or more elements? */
{
com.borland.xml.toolkit.OrErrorList errors1 = new com.borland.xml.toolkit.OrErrorList();
errors1.add(new com.borland.xml.toolkit.ElementError(this, Constant.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, FieldRef.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormContinuous.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormDiscrete.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Discretize.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValues.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValuesNum.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Aggregate.class));
errors.add(errors1);
if( firstError && errors.size() > 0 )
return errors;
}
}
if( _objLogarithmic != null )
{
/** Logarithmic is mandatory */
if( _objLogarithmic != null )
errors.add(_objLogarithmic.validate(firstError));
else
errors.add(new com.borland.xml.toolkit.ElementError(this, Logarithmic.class));
if( firstError && errors.size() > 0 )
return errors;
}
if( !(_objConstant != null || _objFieldRef != null || _objNormContinuous != null || _objNormDiscrete != null || _objDiscretize != null || _objMapValues != null || _objMapValuesNum != null || _objAggregate != null) && !(_objLogarithmic != null) ) /** missing one or more elements? */
{
com.borland.xml.toolkit.OrErrorList errors1 = new com.borland.xml.toolkit.OrErrorList();
errors1.add(new com.borland.xml.toolkit.ElementError(this, Constant.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, FieldRef.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormContinuous.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormDiscrete.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Discretize.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValues.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValuesNum.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Aggregate.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Logarithmic.class));
errors.add(errors1);
if( firstError && errors.size() > 0 )
return errors;
}
}
if( _objExponential != null )
{
/** Exponential is mandatory */
if( _objExponential != null )
errors.add(_objExponential.validate(firstError));
else
errors.add(new com.borland.xml.toolkit.ElementError(this, Exponential.class));
if( firstError && errors.size() > 0 )
return errors;
}
if( !(_objConstant != null || _objFieldRef != null || _objNormContinuous != null || _objNormDiscrete != null || _objDiscretize != null || _objMapValues != null || _objMapValuesNum != null || _objAggregate != null || _objLogarithmic != null) && !(_objExponential != null) ) /** missing one or more elements? */
{
com.borland.xml.toolkit.OrErrorList errors1 = new com.borland.xml.toolkit.OrErrorList();
errors1.add(new com.borland.xml.toolkit.ElementError(this, Constant.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, FieldRef.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormContinuous.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormDiscrete.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Discretize.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValues.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValuesNum.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Aggregate.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Logarithmic.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Exponential.class));
errors.add(errors1);
if( firstError && errors.size() > 0 )
return errors;
}
}
if( _objReciprocal != null )
{
/** Reciprocal is mandatory */
if( _objReciprocal != null )
errors.add(_objReciprocal.validate(firstError));
else
errors.add(new com.borland.xml.toolkit.ElementError(this, Reciprocal.class));
if( firstError && errors.size() > 0 )
return errors;
}
if( !(_objConstant != null || _objFieldRef != null || _objNormContinuous != null || _objNormDiscrete != null || _objDiscretize != null || _objMapValues != null || _objMapValuesNum != null || _objAggregate != null || _objLogarithmic != null || _objExponential != null) && !(_objReciprocal != null) ) /** missing one or more elements? */
{
com.borland.xml.toolkit.OrErrorList errors1 = new com.borland.xml.toolkit.OrErrorList();
errors1.add(new com.borland.xml.toolkit.ElementError(this, Constant.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, FieldRef.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormContinuous.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormDiscrete.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Discretize.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValues.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValuesNum.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Aggregate.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Logarithmic.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Exponential.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Reciprocal.class));
errors.add(errors1);
if( firstError && errors.size() > 0 )
return errors;
}
}
if( _objRoot != null )
{
/** Root is mandatory */
if( _objRoot != null )
errors.add(_objRoot.validate(firstError));
else
errors.add(new com.borland.xml.toolkit.ElementError(this, Root.class));
if( firstError && errors.size() > 0 )
return errors;
}
if( !(_objConstant != null || _objFieldRef != null || _objNormContinuous != null || _objNormDiscrete != null || _objDiscretize != null || _objMapValues != null || _objMapValuesNum != null || _objAggregate != null || _objLogarithmic != null || _objExponential != null || _objReciprocal != null) && !(_objRoot != null) ) /** missing one or more elements? */
{
com.borland.xml.toolkit.OrErrorList errors1 = new com.borland.xml.toolkit.OrErrorList();
errors1.add(new com.borland.xml.toolkit.ElementError(this, Constant.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, FieldRef.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormContinuous.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormDiscrete.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Discretize.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValues.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValuesNum.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Aggregate.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Logarithmic.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Exponential.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Reciprocal.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Root.class));
errors.add(errors1);
if( firstError && errors.size() > 0 )
return errors;
}
}
if( _objSquare != null )
{
/** Square is mandatory */
if( _objSquare != null )
errors.add(_objSquare.validate(firstError));
else
errors.add(new com.borland.xml.toolkit.ElementError(this, Square.class));
if( firstError && errors.size() > 0 )
return errors;
}
if( !(_objConstant != null || _objFieldRef != null || _objNormContinuous != null || _objNormDiscrete != null || _objDiscretize != null || _objMapValues != null || _objMapValuesNum != null || _objAggregate != null || _objLogarithmic != null || _objExponential != null || _objReciprocal != null || _objRoot != null) && !(_objSquare != null) ) /** missing one or more elements? */
{
com.borland.xml.toolkit.OrErrorList errors1 = new com.borland.xml.toolkit.OrErrorList();
errors1.add(new com.borland.xml.toolkit.ElementError(this, Constant.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, FieldRef.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormContinuous.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormDiscrete.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Discretize.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValues.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValuesNum.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Aggregate.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Logarithmic.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Exponential.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Reciprocal.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Root.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Square.class));
errors.add(errors1);
if( firstError && errors.size() > 0 )
return errors;
}
}
if( _objCategorization != null )
{
/** Categorization is mandatory */
if( _objCategorization != null )
errors.add(_objCategorization.validate(firstError));
else
errors.add(new com.borland.xml.toolkit.ElementError(this, Categorization.class));
if( firstError && errors.size() > 0 )
return errors;
}
if( !(_objConstant != null || _objFieldRef != null || _objNormContinuous != null || _objNormDiscrete != null || _objDiscretize != null || _objMapValues != null || _objMapValuesNum != null || _objAggregate != null || _objLogarithmic != null || _objExponential != null || _objReciprocal != null || _objRoot != null || _objSquare != null) && !(_objCategorization != null) ) /** missing one or more elements? */
{
com.borland.xml.toolkit.OrErrorList errors1 = new com.borland.xml.toolkit.OrErrorList();
errors1.add(new com.borland.xml.toolkit.ElementError(this, Constant.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, FieldRef.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormContinuous.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormDiscrete.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Discretize.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValues.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValuesNum.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Aggregate.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Logarithmic.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Exponential.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Reciprocal.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Root.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Square.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Categorization.class));
errors.add(errors1);
if( firstError && errors.size() > 0 )
return errors;
}
}
if( _objNumerization != null )
{
/** Numerization is mandatory */
if( _objNumerization != null )
errors.add(_objNumerization.validate(firstError));
else
errors.add(new com.borland.xml.toolkit.ElementError(this, Numerization.class));
if( firstError && errors.size() > 0 )
return errors;
}
if( !(_objConstant != null || _objFieldRef != null || _objNormContinuous != null || _objNormDiscrete != null || _objDiscretize != null || _objMapValues != null || _objMapValuesNum != null || _objAggregate != null || _objLogarithmic != null || _objExponential != null || _objReciprocal != null || _objRoot != null || _objSquare != null || _objCategorization != null) && !(_objNumerization != null) ) /** missing one or more elements? */
{
com.borland.xml.toolkit.OrErrorList errors1 = new com.borland.xml.toolkit.OrErrorList();
errors1.add(new com.borland.xml.toolkit.ElementError(this, Constant.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, FieldRef.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormContinuous.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormDiscrete.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Discretize.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValues.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValuesNum.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Aggregate.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Logarithmic.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Exponential.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Reciprocal.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Root.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Square.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Categorization.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Numerization.class));
errors.add(errors1);
if( firstError && errors.size() > 0 )
return errors;
}
}
if( _objCreateVirtualAttribute != null )
{
/** CreateVirtualAttribute is mandatory */
if( _objCreateVirtualAttribute != null )
errors.add(_objCreateVirtualAttribute.validate(firstError));
else
errors.add(new com.borland.xml.toolkit.ElementError(this, CreateVirtualAttribute.class));
if( firstError && errors.size() > 0 )
return errors;
}
if( !(_objConstant != null || _objFieldRef != null || _objNormContinuous != null || _objNormDiscrete != null || _objDiscretize != null || _objMapValues != null || _objMapValuesNum != null || _objAggregate != null || _objLogarithmic != null || _objExponential != null || _objReciprocal != null || _objRoot != null || _objSquare != null || _objCategorization != null || _objNumerization != null) && !(_objCreateVirtualAttribute != null) ) /** missing one or more elements? */
{
com.borland.xml.toolkit.OrErrorList errors1 = new com.borland.xml.toolkit.OrErrorList();
errors1.add(new com.borland.xml.toolkit.ElementError(this, Constant.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, FieldRef.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormContinuous.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, NormDiscrete.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Discretize.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValues.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, MapValuesNum.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Aggregate.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Logarithmic.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Exponential.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Reciprocal.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Root.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Square.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Categorization.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, Numerization.class));
errors1.add(new com.borland.xml.toolkit.ElementError(this, CreateVirtualAttribute.class));
errors.add(errors1);
if( firstError && errors.size() > 0 )
return errors;
}
return errors.size()==0 ? null : errors;
}
/**
* Returns a list containing all child elements. Each element in the list is a subclass
* of XmlObject.
*/
public java.util.List _getChildren()
{
java.util.List children = new java.util.ArrayList();
/** adds _objExtension */
if( _objExtension != null && _objExtension.size() > 0 )
children.add(_objExtension);
/** adds _objConstant */
if( _objConstant != null )
children.add(_objConstant);
/** adds _objFieldRef */
if( _objFieldRef != null )
children.add(_objFieldRef);
/** adds _objNormContinuous */
if( _objNormContinuous != null )
children.add(_objNormContinuous);
/** adds _objNormDiscrete */
if( _objNormDiscrete != null )
children.add(_objNormDiscrete);
/** adds _objDiscretize */
if( _objDiscretize != null )
children.add(_objDiscretize);
/** adds _objMapValues */
if( _objMapValues != null )
children.add(_objMapValues);
/** adds _objMapValuesNum */
if( _objMapValuesNum != null )
children.add(_objMapValuesNum);
/** adds _objAggregate */
if( _objAggregate != null )
children.add(_objAggregate);
/** adds _objLogarithmic */
if( _objLogarithmic != null )
children.add(_objLogarithmic);
/** adds _objExponential */
if( _objExponential != null )
children.add(_objExponential);
/** adds _objReciprocal */
if( _objReciprocal != null )
children.add(_objReciprocal);
/** adds _objRoot */
if( _objRoot != null )
children.add(_objRoot);
/** adds _objSquare */
if( _objSquare != null )
children.add(_objSquare);
/** adds _objCategorization */
if( _objCategorization != null )
children.add(_objCategorization);
/** adds _objNumerization */
if( _objNumerization != null )
children.add(_objNumerization);
/** adds _objCreateVirtualAttribute */
if( _objCreateVirtualAttribute != null )
children.add(_objCreateVirtualAttribute);
return children;
}
/**
* Gets the tag name of this element.
*/
public String get_TagName()
{
return _tagName;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -