站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

BaseDescr (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.lang.descr
Class BaseDescr

java.lang.Object
  extended by org.drools.lang.descr.BaseDescr
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccumulateDescr, AndDescr, AttributeDescr, CollectDescr, DeclarativeInvokerDescr, EvalDescr, ExistsDescr, FactTemplateDescr, FieldBindingDescr, FieldConstraintDescr, FieldTemplateDescr, ForallDescr, FromDescr, FunctionDescr, GlobalDescr, ImportDescr, NotDescr, OrDescr, PackageDescr, PatternDescr, PredicateDescr, Restriction, RestrictionDescr, RuleDescr

public class BaseDescr
extends Object
implements Serializable

This is the super type for all pattern AST nodes.

See Also:
Serialized Form

Constructor Summary
BaseDescr()
           
 
Method Summary
 int getColumn()
           
 int getEndCharacter()
           
 int getEndColumn()
           
 int getEndLine()
           
 int getLine()
           
 int getStartCharacter()
           
 void setEndCharacter(int endCharacter)
           
 void setEndLocation(int line, int column)
           
 void setLocation(int line, int column)
           
 void setStartCharacter(int startCharacter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseDescr

public BaseDescr()
Method Detail

setLocation

public void setLocation(int line,
                        int column)

setEndLocation

public void setEndLocation(int line,
                           int column)

getLine

public int getLine()

getColumn

public int getColumn()

getEndLine

public int getEndLine()

getEndColumn

public int getEndColumn()

getEndCharacter

public int getEndCharacter()
Returns:
the endCharacter

setEndCharacter

public void setEndCharacter(int endCharacter)
Parameters:
endCharacter - the endCharacter to set

getStartCharacter

public int getStartCharacter()
Returns:
the startCharacter

setStartCharacter

public void setStartCharacter(int startCharacter)
Parameters:
startCharacter - the startCharacter to set


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.