org.drools.runtime.rule.impl
Class SerializedRule

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

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

See Also:
Serialized Form

Constructor Summary
SerializedRule()
           
SerializedRule(org.drools.definition.rule.Rule rule)
           
 
Method Summary
 String getMetaAttribute(String identifier)
          Deprecated. 
 Map<String,Object> getMetaAttributes()
          Deprecated. 
 Map<String,Object> getMetaData()
           
 String getName()
           
 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.drools.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.drools.definition.rule.Rule

getPackageName

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

getMetaAttribute

@Deprecated
public String getMetaAttribute(String identifier)
Deprecated. 

Specified by:
getMetaAttribute in interface org.drools.definition.rule.Rule

listMetaAttributes

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

Specified by:
listMetaAttributes in interface org.drools.definition.rule.Rule

getMetaAttributes

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

Specified by:
getMetaAttributes in interface org.drools.definition.rule.Rule

getMetaData

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


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