Drools :: Core 6.0.0.Beta5

org.drools.core.runtime.rule.impl
Class SerializedRule

java.lang.Object
  extended by org.drools.core.runtime.rule.impl.SerializedRule
All Implemented Interfaces:
Externalizable, Serializable, org.kie.api.definition.KieDefinition, org.kie.api.definition.rule.Rule

public class SerializedRule
extends Object
implements org.kie.api.definition.rule.Rule, Externalizable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.kie.api.definition.KieDefinition
org.kie.api.definition.KieDefinition.KnowledgeType
 
Constructor Summary
SerializedRule()
           
SerializedRule(org.kie.api.definition.rule.Rule rule)
           
 
Method Summary
 String getId()
           
 org.kie.api.definition.KieDefinition.KnowledgeType getKnowledgeType()
           
 String getMetaAttribute(String identifier)
          Deprecated. 
 Map<String,Object> getMetaAttributes()
          Deprecated. 
 Map<String,Object> getMetaData()
           
 String getName()
           
 String getNamespace()
           
 String getPackageName()
           
 Collection<String> listMetaAttributes()
          Deprecated. 
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializedRule

public SerializedRule()

SerializedRule

public SerializedRule(org.kie.api.definition.rule.Rule rule)
Method Detail

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

getName

public String getName()
Specified by:
getName in interface org.kie.api.definition.rule.Rule

getPackageName

public String getPackageName()
Specified by:
getPackageName in interface org.kie.api.definition.rule.Rule

getMetaAttribute

@Deprecated
public String getMetaAttribute(String identifier)
Deprecated. 


listMetaAttributes

@Deprecated
public Collection<String> listMetaAttributes()
Deprecated. 


getMetaAttributes

@Deprecated
public Map<String,Object> getMetaAttributes()
Deprecated. 


getMetaData

public Map<String,Object> getMetaData()
Specified by:
getMetaData in interface org.kie.api.definition.rule.Rule

getKnowledgeType

public org.kie.api.definition.KieDefinition.KnowledgeType getKnowledgeType()
Specified by:
getKnowledgeType in interface org.kie.api.definition.KieDefinition

getNamespace

public String getNamespace()
Specified by:
getNamespace in interface org.kie.api.definition.KieDefinition

getId

public String getId()
Specified by:
getId in interface org.kie.api.definition.KieDefinition

Drools :: Core 6.0.0.Beta5

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