Package com.iizigo.event
Class QueryPropReference
java.lang.Object
com.iizigo.event.QueryPropReference
Class to define a reference to a property for the Query References message.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionQueryPropReference
(GProp<?> prop, int index, GProp<?> source) Constructor for an index-based multi-property reference.QueryPropReference
(GProp<?> prop, GProp<?> source) Constructor for simple property reference.Method Summary
Constructor Details
QueryPropReference
Constructor for simple property reference.- Parameters:
prop
- The property being referenced by the source property.source
- The source property.- Throws:
NullPointerException
- Ifprop
is null.
QueryPropReference
Constructor for an index-based multi-property reference.- Parameters:
prop
- The property being referenced by the source property.index
- The index.source
- The source property.- Throws:
NullPointerException
- Ifprop
orsource
is null.
Method Details
getProp
Gets the property.getSource
Gets the property.getIndex
public int getIndex()Gets the index, -1 for none.equals
Checks for two identical items.hashCode
public int hashCode()Gets the hash code.