net.esper.eql.spec
Class ObjectSpec

java.lang.Object
  extended by net.esper.eql.spec.ObjectSpec
All Implemented Interfaces:
MetaDefItem
Direct Known Subclasses:
PatternGuardSpec, PatternObserverSpec, ViewSpec

public abstract class ObjectSpec
extends Object
implements MetaDefItem

Encapsulates the information required to specify an object identification and construction.

Abstract class for use with any object, such as views, pattern guards or pattern observers.

A object construction specification can be equal to another specification. This information can be important to determine reuse of any object.


Constructor Summary
ObjectSpec(String namespace, String objectName, List<Object> objectParameters)
          Constructor.
 
Method Summary
 boolean equals(Object otherObject)
           
 String getObjectName()
          Returns the object name.
 String getObjectNamespace()
          Returns namespace for view object.
 List<Object> getObjectParameters()
          Returns the list of object parameters.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectSpec

public ObjectSpec(String namespace,
                  String objectName,
                  List<Object> objectParameters)
Constructor.

Parameters:
namespace - if the namespace the object is in
objectName - is the name of the object
objectParameters - is a list of values representing the object parameters
Method Detail

getObjectNamespace

public String getObjectNamespace()
Returns namespace for view object.

Returns:
namespace

getObjectName

public final String getObjectName()
Returns the object name.

Returns:
object name

getObjectParameters

public final List<Object> getObjectParameters()
Returns the list of object parameters.

Returns:
list of values representing object parameters

equals

public final boolean equals(Object otherObject)
Overrides:
equals in class Object

toString

public final String toString()
Overrides:
toString in class Object