com.espertech.esper.epl.spec
Class ObjectSpec

java.lang.Object
  extended by com.espertech.esper.epl.spec.ObjectSpec
All Implemented Interfaces:
MetaDefItem, java.io.Serializable
Direct Known Subclasses:
PatternGuardSpec, PatternObserverSpec, ViewSpec

public abstract class ObjectSpec
extends java.lang.Object
implements MetaDefItem, java.io.Serializable

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.

See Also:
Serialized Form

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

Constructor Detail

ObjectSpec

public ObjectSpec(java.lang.String namespace,
                  java.lang.String objectName,
                  java.util.List<ExprNode> 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 java.lang.String getObjectNamespace()
Returns namespace for view object.

Returns:
namespace

getObjectName

public final java.lang.String getObjectName()
Returns the object name.

Returns:
object name

getObjectParameters

public final java.util.List<ExprNode> getObjectParameters()
Returns the list of object parameters.

Returns:
list of expressions representing object parameters

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public final java.lang.String toString()
Overrides:
toString in class java.lang.Object

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com