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

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


org.drools.lang.descr
Class FieldAccessDescr

java.lang.Object
  extended by org.drools.lang.descr.BaseDescr
      extended by org.drools.lang.descr.DeclarativeInvokerDescr
          extended by org.drools.lang.descr.FieldAccessDescr
All Implemented Interfaces:
Serializable

public class FieldAccessDescr
extends DeclarativeInvokerDescr

This represents direct field access. Not a whole lot different from what you can do with the method access, but in this case it is just a field by name (same as in a pattern). eg: foo.bar

See Also:
Serialized Form

Constructor Summary
FieldAccessDescr(String fieldName)
           
FieldAccessDescr(String fieldName, String argument)
           
 
Method Summary
 String getArgument()
           
 String getFieldName()
           
 void setArgument(String argument)
           
 void setFieldName(String fieldName)
           
 String toString()
           
 
Methods inherited from class org.drools.lang.descr.BaseDescr
getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getStartCharacter, setEndCharacter, setEndLocation, setLocation, setStartCharacter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldAccessDescr

public FieldAccessDescr(String fieldName)

FieldAccessDescr

public FieldAccessDescr(String fieldName,
                        String argument)
Method Detail

getFieldName

public String getFieldName()

setFieldName

public void setFieldName(String fieldName)

getArgument

public String getArgument()

setArgument

public void setArgument(String argument)

toString

public String toString()
Overrides:
toString in class Object


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