net.esper.view
Class ViewSpec

java.lang.Object
  extended by net.esper.view.ViewSpec
All Implemented Interfaces:
MetaDefItem

public final class ViewSpec
extends Object
implements MetaDefItem

Encapsulates the information required to specify a object construction. A object construction specification can be equal to another specification. This information is important to determine reuse of any object.


Constructor Summary
ViewSpec(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

ViewSpec

public ViewSpec(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 PrimitiveValue instances 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 PrimitiveValue 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