org.drools.lang.api
Interface AttributeDescrBuilder<P extends DescrBuilder<?,?>>

All Superinterfaces:
DescrBuilder<P,AttributeDescr>
All Known Implementing Classes:
AttributeDescrBuilderImpl

public interface AttributeDescrBuilder<P extends DescrBuilder<?,?>>
extends DescrBuilder<P,AttributeDescr>

A descriptor builder for attributes


Method Summary
 AttributeDescrBuilder<P> type(AttributeDescr.Type type)
          Sets the attribute value type
 AttributeDescrBuilder<P> value(String value)
          Sets the attribute value
 
Methods inherited from interface org.drools.lang.api.DescrBuilder
end, endCharacter, endLocation, getDescr, startCharacter, startLocation
 

Method Detail

value

AttributeDescrBuilder<P> value(String value)
Sets the attribute value

Parameters:
value -
Returns:
itself

type

AttributeDescrBuilder<P> type(AttributeDescr.Type type)
Sets the attribute value type

Parameters:
type - see AttributeDescr.Type
Returns:
itself


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