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

Column - JBoss RULES 3.0.6 API 英文版文档


org.drools.rule
Class Column

java.lang.Object
  extended by org.drools.rule.Column
All Implemented Interfaces:
java.io.Serializable

public class Column
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Column(int index, int offset, ObjectType objectType, java.lang.String identifier)
           
Column(int index, ObjectType objectType)
           
Column(int index, ObjectType objectType, java.lang.String identifier)
           
 
Method Summary
 void addConstraint(FieldConstraint constraint)
           
 Declaration addDeclaration(java.lang.String identifier, Extractor extractor)
           
 void adjustOffset(int adjust)
          A simple method to adjust offset of all declarations using the specified value
 java.util.List getConstraints()
           
 Declaration getDeclaration()
           
 int getFactIndex()
           
 int getIndex()
           
 ObjectType getObjectType()
           
 int getOffset()
           
 boolean isBound()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Column

public Column(int index,
              ObjectType objectType)

Column

public Column(int index,
              ObjectType objectType,
              java.lang.String identifier)

Column

public Column(int index,
              int offset,
              ObjectType objectType,
              java.lang.String identifier)
Method Detail

getObjectType

public ObjectType getObjectType()

getConstraints

public java.util.List getConstraints()

addConstraint

public void addConstraint(FieldConstraint constraint)

addDeclaration

public Declaration addDeclaration(java.lang.String identifier,
                                  Extractor extractor)

isBound

public boolean isBound()

getDeclaration

public Declaration getDeclaration()

getIndex

public int getIndex()

getOffset

public int getOffset()
Returns:
the offset

getFactIndex

public int getFactIndex()

adjustOffset

public void adjustOffset(int adjust)
A simple method to adjust offset of all declarations using the specified value

Parameters:
adjust -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object