public abstract class EPBaseNamedObject extends Object implements Serializable
Constructor and Description |
---|
EPBaseNamedObject()
Ctor.
|
EPBaseNamedObject(String namespace,
String name,
List<Expression> parameters)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the object name.
|
String |
getNamespace()
Returns the object namespace name.
|
List<Expression> |
getParameters()
Returns the object parameters.
|
void |
setName(String name)
Sets the object name.
|
void |
setNamespace(String namespace)
Sets the object namespace name
|
void |
setParameters(List<Expression> parameters)
Sets the parameters for the object.
|
void |
toEPL(StringWriter writer)
Writes the object in EPL-syntax in the format "namespace:name(parameter, parameter, ..., parameter)"
|
public EPBaseNamedObject()
public EPBaseNamedObject(String namespace, String name, List<Expression> parameters)
namespace
- is the namespace of the object, i.e. view namespace or pattern object namespacename
- is the name of the object, such as the view nameparameters
- is the optional parameters to the view or pattern object, or empty list for no parameterspublic String getNamespace()
public void setNamespace(String namespace)
namespace
- to setpublic String getName()
public void setName(String name)
name
- is the object name to setpublic List<Expression> getParameters()
public void setParameters(List<Expression> parameters)
parameters
- parameters for object, empty list for no parameterspublic void toEPL(StringWriter writer)
writer
- to output to