org.drools.impl
Class SerializedRule

java.lang.Object
  extended by org.drools.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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.drools.definition.KnowledgeDefinition
org.drools.definition.KnowledgeDefinition.KnowledgeType
 
Constructor Summary
SerializedRule()
           
SerializedRule(org.drools.definition.rule.Rule rule)
           
 
Method Summary
 String getId()
           
 org.drools.definition.KnowledgeDefinition.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.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

getKnowledgeType

public org.drools.definition.KnowledgeDefinition.KnowledgeType getKnowledgeType()
Specified by:
getKnowledgeType in interface org.drools.definition.KnowledgeDefinition

getNamespace

public String getNamespace()
Specified by:
getNamespace in interface org.drools.definition.KnowledgeDefinition

getId

public String getId()
Specified by:
getId in interface org.drools.definition.KnowledgeDefinition


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