org.drools.lang.api.impl
Class GlobalDescrBuilderImpl

java.lang.Object
  extended by org.drools.lang.api.impl.BaseDescrBuilderImpl<PackageDescrBuilder,GlobalDescr>
      extended by org.drools.lang.api.impl.GlobalDescrBuilderImpl
All Implemented Interfaces:
DescrBuilder<PackageDescrBuilder,GlobalDescr>, GlobalDescrBuilder

public class GlobalDescrBuilderImpl
extends BaseDescrBuilderImpl<PackageDescrBuilder,GlobalDescr>
implements GlobalDescrBuilder


Field Summary
 
Fields inherited from class org.drools.lang.api.impl.BaseDescrBuilderImpl
descr, parent
 
Constructor Summary
protected GlobalDescrBuilderImpl(PackageDescrBuilder parent)
           
 
Method Summary
 GlobalDescrBuilder identifier(String identifier)
          Sets the identifier for the global.
 GlobalDescrBuilder type(String type)
          Sets the type of the global.
 
Methods inherited from class org.drools.lang.api.impl.BaseDescrBuilderImpl
end, endCharacter, endLocation, getDescr, startCharacter, startLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.drools.lang.api.DescrBuilder
end, endCharacter, endLocation, getDescr, startCharacter, startLocation
 

Constructor Detail

GlobalDescrBuilderImpl

protected GlobalDescrBuilderImpl(PackageDescrBuilder parent)
Method Detail

type

public GlobalDescrBuilder type(String type)
Description copied from interface: GlobalDescrBuilder
Sets the type of the global. E.g.: java.util.List

Specified by:
type in interface GlobalDescrBuilder
Returns:
itself

identifier

public GlobalDescrBuilder identifier(String identifier)
Description copied from interface: GlobalDescrBuilder
Sets the identifier for the global. E.g.: list

Specified by:
identifier in interface GlobalDescrBuilder
Returns:
itself


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