Class GlobalImpl
- java.lang.Object
-
- org.drools.core.definitions.rule.impl.GlobalImpl
-
- All Implemented Interfaces:
Externalizable
,Serializable
,org.kie.api.definition.rule.Global
public class GlobalImpl extends Object implements org.kie.api.definition.rule.Global, Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GlobalImpl()
GlobalImpl(String name, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Method Detail
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.kie.api.definition.rule.Global
-
getType
public String getType()
- Specified by:
getType
in interfaceorg.kie.api.definition.rule.Global
-
setName
public void setName(String name)
-
setType
public void setType(String type)
-
-