public class Rules extends Object implements Comparable<Rules>, IRule
| Modifier and Type | Field and Description |
|---|---|
static String |
staticRule |
| Constructor and Description |
|---|
Rules() |
public static final String staticRule
public boolean isStatic()
public boolean definesVariable()
definesVariable in interface IRuleIRule.definesVariable()public boolean definesTargetField()
definesTargetField in interface IRulepublic boolean definesAttribute()
public boolean definesTemplate()
definesTemplate in interface IRulepublic boolean definesTemplateMatch()
definesTemplateMatch in interface IRulepublic void setXpath(String xpath)
public String getXpath()
public void setAssignmentVariable(String aVariable)
aVariable - the variable as a reference to the valuepublic String getAssignmentVariable()
public void setNamespace(String namespace)
public String getNamespace()
public void setConstant(String constant)
public String getConstant()
@Deprecated public void setTargetField(String targetField)
@Deprecated public String getTargetField()
public void setRuleDeclaration(String ruleDeclaration)
public String getRuleDeclaration()
public int compareTo(Rules o)
compareTo in interface Comparable<Rules>public void setFunctionCall(FunctionCall funcCall)
public FunctionCall getFunctionCall()
public String getUniqueName()
getUniqueName in interface IRulepublic boolean hasCondition()
hasCondition in interface IRulepublic Condition getCondition()
public void setCondition(Condition condition)
condition - the condition to setpublic void setVariable(String variable)
variable - the variable to setpublic String getVariable()
public void setEmpty(boolean isEmpty)
isEmpty - the isEmpty to setpublic boolean isEmpty()
public void setTargetSchemaElement(SchemaElement targetSchemaElement)
targetSchemaElement - the targetSchemaElement to setpublic SchemaElement getTargetSchemaElement()
public String getTemplate()
public void setTemplate(String template)
template - the template to setpublic String getAttribute()
public void setAttribute(String attribute)
attribute - the attribute to setpublic RulesSet getRulesSet()
public void setRulesSet(RulesSet rulesSet)
rulesSet - the rulesSet to setpublic boolean hasSet()
IRulepublic String getTemplateMatch()
public void setTemplateMatch(String templateMatch)
public Properties getProperties()
public void setProperties(Properties properties)
public boolean isSkip()
public void setSkip(boolean isSkip)
Copyright © 2025. All rights reserved.