org.drools.lang.api.impl
Class AttributeDescrBuilderImpl<P extends DescrBuilder<?,?>>
java.lang.Object
org.drools.lang.api.impl.BaseDescrBuilderImpl<P,AttributeDescr>
org.drools.lang.api.impl.AttributeDescrBuilderImpl<P>
- All Implemented Interfaces:
- AttributeDescrBuilder<P>, DescrBuilder<P,AttributeDescr>
public class AttributeDescrBuilderImpl<P extends DescrBuilder<?,?>>
- extends BaseDescrBuilderImpl<P,AttributeDescr>
- implements AttributeDescrBuilder<P>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeDescrBuilderImpl
public AttributeDescrBuilderImpl(P parent,
String name)
value
public AttributeDescrBuilderImpl<P> value(String value)
- Description copied from interface:
AttributeDescrBuilder
- Sets the attribute value
- Specified by:
value
in interface AttributeDescrBuilder<P extends DescrBuilder<?,?>>
- Returns:
- itself
type
public AttributeDescrBuilder<P> type(AttributeDescr.Type type)
- Description copied from interface:
AttributeDescrBuilder
- Sets the attribute value type
- Specified by:
type
in interface AttributeDescrBuilder<P extends DescrBuilder<?,?>>
- Parameters:
type
- see AttributeDescr.Type
- Returns:
- itself
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.