Package org.drools.compiler.lang.descr
Class GlobalDescr
- java.lang.Object
-
- org.drools.compiler.lang.descr.BaseDescr
-
- org.drools.compiler.lang.descr.GlobalDescr
-
- All Implemented Interfaces:
Externalizable,Serializable,org.drools.core.rule.Namespaceable
public class GlobalDescr extends BaseDescr
A descriptor class for globals.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GlobalDescr()GlobalDescr(String identifier, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIdentifier()StringgetType()voidsetIdentifier(String identifier)voidsetType(String type)-
Methods inherited from class org.drools.compiler.lang.descr.BaseDescr
accept, copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, isNegated, negate, positionAsString, readExternal, replaceVariable, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setText, writeExternal
-
-
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
- Returns:
- the identifier
-
setIdentifier
public void setIdentifier(String identifier)
- Parameters:
identifier- the identifier to set
-
getType
public String getType()
- Returns:
- the type
-
setType
public void setType(String type)
- Parameters:
type- the type to set
-
-