org.drools.kproject
Class KBaseImpl

java.lang.Object
  extended by org.drools.kproject.KBaseImpl
All Implemented Interfaces:
KBase

public class KBaseImpl
extends Object
implements KBase


Constructor Summary
KBaseImpl(KProjectImpl kProject, String namespace, String name)
           
 
Method Summary
 KBase addInclude(String kBaseQName)
           
 List<String> getAnnotations()
           
 org.drools.conf.AssertBehaviorOption getEqualsBehavior()
           
 org.drools.conf.EventProcessingOption getEventProcessingMode()
           
 List<String> getFiles()
           
 Set<String> getIncludes()
           
 KProjectImpl getKProject()
           
 Map<String,KSession> getKSessions()
           
 PropertyChangeListener getListener()
           
 String getName()
           
 String getNamespace()
           
 String getQName()
           
 void moveKSession(String oldQName, String newQName)
           
 KSession newKSession(String namespace, String name)
           
 KBase removeInclude(String kBaseQName)
           
 KBase removeKSession(String qName)
           
 KBase setAnnotations(List<String> annotations)
           
 KBase setEqualsBehavior(org.drools.conf.AssertBehaviorOption equalsBehaviour)
           
 KBase setEventProcessingMode(org.drools.conf.EventProcessingOption eventProcessingMode)
           
 KBase setFiles(List<String> files)
           
 void setKProject(KProject kProject)
           
 KBase setListener(PropertyChangeListener listener)
           
 KBase setName(String name)
           
 KBase setNamespace(String namespace)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KBaseImpl

public KBaseImpl(KProjectImpl kProject,
                 String namespace,
                 String name)
Method Detail

getKProject

public KProjectImpl getKProject()

setKProject

public void setKProject(KProject kProject)

getKSessions

public Map<String,KSession> getKSessions()
Specified by:
getKSessions in interface KBase

newKSession

public KSession newKSession(String namespace,
                            String name)
Specified by:
newKSession in interface KBase

removeKSession

public KBase removeKSession(String qName)
Specified by:
removeKSession in interface KBase

moveKSession

public void moveKSession(String oldQName,
                         String newQName)

getListener

public PropertyChangeListener getListener()
Specified by:
getListener in interface KBase

setListener

public KBase setListener(PropertyChangeListener listener)
Specified by:
setListener in interface KBase

getNamespace

public String getNamespace()
Specified by:
getNamespace in interface KBase

setNamespace

public KBase setNamespace(String namespace)
Specified by:
setNamespace in interface KBase

getName

public String getName()
Specified by:
getName in interface KBase

setName

public KBase setName(String name)
Specified by:
setName in interface KBase

getQName

public String getQName()
Specified by:
getQName in interface KBase

getIncludes

public Set<String> getIncludes()
Specified by:
getIncludes in interface KBase

addInclude

public KBase addInclude(String kBaseQName)
Specified by:
addInclude in interface KBase

removeInclude

public KBase removeInclude(String kBaseQName)
Specified by:
removeInclude in interface KBase

getFiles

public List<String> getFiles()
Specified by:
getFiles in interface KBase

setFiles

public KBase setFiles(List<String> files)
Specified by:
setFiles in interface KBase

getEqualsBehavior

public org.drools.conf.AssertBehaviorOption getEqualsBehavior()
Specified by:
getEqualsBehavior in interface KBase

setEqualsBehavior

public KBase setEqualsBehavior(org.drools.conf.AssertBehaviorOption equalsBehaviour)
Specified by:
setEqualsBehavior in interface KBase

getEventProcessingMode

public org.drools.conf.EventProcessingOption getEventProcessingMode()
Specified by:
getEventProcessingMode in interface KBase

setEventProcessingMode

public KBase setEventProcessingMode(org.drools.conf.EventProcessingOption eventProcessingMode)
Specified by:
setEventProcessingMode in interface KBase

getAnnotations

public List<String> getAnnotations()
Specified by:
getAnnotations in interface KBase

setAnnotations

public KBase setAnnotations(List<String> annotations)
Specified by:
setAnnotations in interface KBase

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.