com.cometway.om
Class PropsQuery

java.lang.Object
  extended by com.cometway.om.PropsQuery

public class PropsQuery
extends java.lang.Object

This is an ObjectQuery which queries Props objects. This object is used to list objects from an IObjectManager through the listObjects() method. The IObjectManager must support PropsTypes.


Field Summary
 java.lang.String key
          This is the name of the parameter key to query.
 java.lang.String typeName
          This is the name of the PropsType which to query.
 java.lang.Object value
          This is the parameter value the parameter key is to match.
 
Constructor Summary
PropsQuery(PropsType type, java.lang.String key, java.lang.Object value)
          Creates a PropsQuery which when given to an IObjectManager's listObjects() method, a list of ObjectID's returned will be of the given PropsType name and a parameter with the given name and mapped value.
PropsQuery(java.lang.String type, java.lang.String key, java.lang.Object value)
          Creates a PropsQuery which when given to an IObjectManager's listObjects() method, a list of ObjectID's returned will be of the given PropsType name and a parameter with the given name and mapped value.
 
Method Summary
 java.lang.String toString()
          Overrides Object.toString()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

typeName

public java.lang.String typeName
This is the name of the PropsType which to query.


key

public java.lang.String key
This is the name of the parameter key to query.


value

public java.lang.Object value
This is the parameter value the parameter key is to match.

Constructor Detail

PropsQuery

public PropsQuery(java.lang.String type,
                  java.lang.String key,
                  java.lang.Object value)
Creates a PropsQuery which when given to an IObjectManager's listObjects() method, a list of ObjectID's returned will be of the given PropsType name and a parameter with the given name and mapped value.

Parameters:
type - This is the name of the PropsType.
key - This is the parameter name to look for.
value - This is the value of the parameter whose key was given.

PropsQuery

public PropsQuery(PropsType type,
                  java.lang.String key,
                  java.lang.Object value)
Creates a PropsQuery which when given to an IObjectManager's listObjects() method, a list of ObjectID's returned will be of the given PropsType name and a parameter with the given name and mapped value.

Parameters:
type - This is the PropsType.
key - This is the parameter name to look for.
value - This is the value of the parameter whose key was given.
Method Detail

toString

public java.lang.String toString()
Overrides Object.toString()

Overrides:
toString in class java.lang.Object