protected static class CqAttributesFactory.CqAttributesImpl extends java.lang.Object implements CqAttributes, CqAttributesMutator, java.lang.Cloneable, java.io.Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
CqAttributesImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCqListener(CqListener cql)
Adds a Cqlistener to the end of the list of Cqlisteners on this CqQuery.
|
java.lang.Object |
clone() |
CqListener |
getCqListener()
Returns the CqListener set with the CQ
|
CqListener[] |
getCqListeners()
Returns the CqListeners set with the CQ
|
void |
initCqListeners(CqListener[] addedListeners)
Removes all Cqlisteners, calling on each of them, and then adds each listener in the specified array.
|
void |
removeCqListener(CqListener cql)
Removes a Cqlistener from the list of Cqlisteners on this CqQuery.
|
public CqListener[] getCqListeners()
getCqListeners in interface CqAttributesCqListenerpublic CqListener getCqListener()
getCqListener in interface CqAttributesCqListenerpublic java.lang.Object clone()
clone in class java.lang.Objectpublic void addCqListener(CqListener cql)
addCqListener in interface CqAttributesMutatorcql - the user defined cq listener to add to the CqQuery.java.lang.IllegalArgumentException - if aListener is nullpublic void initCqListeners(CqListener[] addedListeners)
initCqListeners in interface CqAttributesMutatoraddedListeners - a possibly null or empty array of listeners to add to this CqQuery.java.lang.IllegalArgumentException - if the newListeners array has a null elementpublic void removeCqListener(CqListener cql)
CacheCallback.close() will
be called on it; otherwise does nothing.removeCqListener in interface CqAttributesMutatorcql - the Cqlistener to remove from the CqQuery.java.lang.IllegalArgumentException - if cl is null