Package com.iizigo.event
Class QueryPropReference
- java.lang.Object
- com.iizigo.event.QueryPropReference
 
- public class QueryPropReference extends java.lang.ObjectClass to define a reference to a property for the Query References message.- Author:
- Christopher Mindus
 
- Constructor Summary- Constructors - Constructor - Description - QueryPropReference(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- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - boolean- equals(java.lang.Object o)Checks for two identical items.- int- getIndex()Gets the index, -1 for none.- GProp<?>- getProp()Gets the property.- GProp<?>- getSource()Gets the property.- int- hashCode()Gets the hash code.
 
- Constructor Detail- QueryPropReference- public QueryPropReference(GProp<?> prop, GProp<?> source) Constructor for simple property reference.- Parameters:
- prop- The property being referenced by the source property.
- source- The source property.
- Throws:
- java.lang.NullPointerException- If- propis null.
 
 - QueryPropReference- public QueryPropReference(GProp<?> prop, int index, GProp<?> source) 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:
- java.lang.NullPointerException- If- propor- sourceis null.
 
 
 - Method Detail- getProp- public GProp<?> getProp() Gets the property.
 - getSource- public GProp<?> getSource() Gets the property.
 - getIndex- public int getIndex() Gets the index, -1 for none.
 - equals- public boolean equals(java.lang.Object o) Checks for two identical items.- Overrides:
- equalsin class- java.lang.Object
- Returns:
- The equality flag.
 
 - hashCode- public int hashCode() Gets the hash code.- Overrides:
- hashCodein class- java.lang.Object
- Returns:
- The hash code.