org.drools.definitions.rule.impl
Class GlobalImpl

java.lang.Object
  extended by org.drools.definitions.rule.impl.GlobalImpl
All Implemented Interfaces:
Externalizable, Serializable, org.drools.definition.rule.Global

public class GlobalImpl
extends Object
implements org.drools.definition.rule.Global, Externalizable

See Also:
Serialized Form

Constructor Summary
GlobalImpl()
           
GlobalImpl(String name, String type)
           
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 String getType()
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 void setName(String name)
           
 void setType(String type)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlobalImpl

public GlobalImpl()

GlobalImpl

public GlobalImpl(String name,
                  String type)
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.Global

getType

public String getType()
Specified by:
getType in interface org.drools.definition.rule.Global

setName

public void setName(String name)

setType

public void setType(String type)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


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