org.neo4j.server.helpers
Class PropertyTypeDispatcher<K,T>

java.lang.Object
  extended by org.neo4j.server.helpers.PropertyTypeDispatcher<K,T>

public abstract class PropertyTypeDispatcher<K,T>
extends Object


Nested Class Summary
static class PropertyTypeDispatcher.PropertyArray<A,T>
           
 
Constructor Summary
PropertyTypeDispatcher()
           
 
Method Summary
static void consumeProperties(PropertyTypeDispatcher<String,Void> dispatcher, PropertyContainer entity)
           
 T dispatch(Object property, K param)
           
protected  T dispatchArray(PropertyTypeDispatcher.PropertyArray<?,?> array, K param)
           
protected  T dispatchBooleanArrayProperty(boolean[] property, K param)
           
protected  T dispatchBooleanArrayProperty(Boolean[] property, K param)
           
protected  T dispatchBooleanArrayProperty(PropertyTypeDispatcher.PropertyArray<boolean[],Boolean> array, K param)
           
protected abstract  T dispatchBooleanProperty(boolean property, K param)
           
protected  T dispatchByteArrayProperty(byte[] property, K param)
           
protected  T dispatchByteArrayProperty(Byte[] property, K param)
           
protected  T dispatchByteArrayProperty(PropertyTypeDispatcher.PropertyArray<byte[],Byte> array, K param)
           
protected abstract  T dispatchByteProperty(byte property, K param)
           
protected  T dispatchCharacterArrayProperty(char[] property, K param)
           
protected  T dispatchCharacterArrayProperty(Character[] property, K param)
           
protected  T dispatchCharacterArrayProperty(PropertyTypeDispatcher.PropertyArray<char[],Character> array, K param)
           
protected abstract  T dispatchCharacterProperty(char property, K param)
           
protected  T dispatchDoubleArrayProperty(double[] property, K param)
           
protected  T dispatchDoubleArrayProperty(Double[] property, K param)
           
protected  T dispatchDoubleArrayProperty(PropertyTypeDispatcher.PropertyArray<double[],Double> array, K param)
           
protected abstract  T dispatchDoubleProperty(double property, K param)
           
protected  T dispatchFloatArrayProperty(float[] property, K param)
           
protected  T dispatchFloatArrayProperty(Float[] property, K param)
           
protected  T dispatchFloatArrayProperty(PropertyTypeDispatcher.PropertyArray<float[],Float> array, K param)
           
protected abstract  T dispatchFloatProperty(float property, K param)
           
protected  T dispatchIntegerArrayProperty(int[] property, K param)
           
protected  T dispatchIntegerArrayProperty(Integer[] property, K param)
           
protected  T dispatchIntegerArrayProperty(PropertyTypeDispatcher.PropertyArray<int[],Integer> array, K param)
           
protected abstract  T dispatchIntegerProperty(int property, K param)
           
protected  T dispatchLongArrayProperty(long[] property, K param)
           
protected  T dispatchLongArrayProperty(Long[] property, K param)
           
protected  T dispatchLongArrayProperty(PropertyTypeDispatcher.PropertyArray<long[],Long> array, K param)
           
protected abstract  T dispatchLongProperty(long property, K param)
           
protected  T dispatchNullProperty(K param)
           
protected  T dispatchNumberArray(PropertyTypeDispatcher.PropertyArray<?,? extends Number> array, K param)
           
protected  T dispatchNumberProperty(Number property, K param)
           
protected  T dispatchOtherArray(Object[] property, K param)
           
protected  T dispatchOtherProperty(Object property, K param)
           
static
<T> Collection<T>
dispatchProperties(PropertyTypeDispatcher<String,T> dispatcher, PropertyContainer entity)
           
protected  T dispatchShortArrayProperty(PropertyTypeDispatcher.PropertyArray<short[],Short> array, K param)
           
protected  T dispatchShortArrayProperty(short[] property, K param)
           
protected  T dispatchShortArrayProperty(Short[] property, K param)
           
protected abstract  T dispatchShortProperty(short property, K param)
           
protected  T dispatchStringArrayProperty(PropertyTypeDispatcher.PropertyArray<String[],String> array, K param)
           
protected  T dispatchStringArrayProperty(String[] property, K param)
           
protected abstract  T dispatchStringProperty(String property, K param)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyTypeDispatcher

public PropertyTypeDispatcher()
Method Detail

consumeProperties

public static void consumeProperties(PropertyTypeDispatcher<String,Void> dispatcher,
                                     PropertyContainer entity)

dispatchProperties

public static <T> Collection<T> dispatchProperties(PropertyTypeDispatcher<String,T> dispatcher,
                                                   PropertyContainer entity)

dispatch

public final T dispatch(Object property,
                        K param)

dispatchOtherArray

protected T dispatchOtherArray(Object[] property,
                               K param)

dispatchNumberProperty

protected T dispatchNumberProperty(Number property,
                                   K param)

dispatchNullProperty

protected T dispatchNullProperty(K param)

dispatchByteProperty

protected abstract T dispatchByteProperty(byte property,
                                          K param)

dispatchCharacterProperty

protected abstract T dispatchCharacterProperty(char property,
                                               K param)

dispatchShortProperty

protected abstract T dispatchShortProperty(short property,
                                           K param)

dispatchIntegerProperty

protected abstract T dispatchIntegerProperty(int property,
                                             K param)

dispatchLongProperty

protected abstract T dispatchLongProperty(long property,
                                          K param)

dispatchFloatProperty

protected abstract T dispatchFloatProperty(float property,
                                           K param)

dispatchDoubleProperty

protected abstract T dispatchDoubleProperty(double property,
                                            K param)

dispatchBooleanProperty

protected abstract T dispatchBooleanProperty(boolean property,
                                             K param)

dispatchOtherProperty

protected T dispatchOtherProperty(Object property,
                                  K param)

dispatchByteArrayProperty

protected T dispatchByteArrayProperty(byte[] property,
                                      K param)

dispatchCharacterArrayProperty

protected T dispatchCharacterArrayProperty(char[] property,
                                           K param)

dispatchShortArrayProperty

protected T dispatchShortArrayProperty(short[] property,
                                       K param)

dispatchIntegerArrayProperty

protected T dispatchIntegerArrayProperty(int[] property,
                                         K param)

dispatchLongArrayProperty

protected T dispatchLongArrayProperty(long[] property,
                                      K param)

dispatchFloatArrayProperty

protected T dispatchFloatArrayProperty(float[] property,
                                       K param)

dispatchDoubleArrayProperty

protected T dispatchDoubleArrayProperty(double[] property,
                                        K param)

dispatchBooleanArrayProperty

protected T dispatchBooleanArrayProperty(boolean[] property,
                                         K param)

dispatchByteArrayProperty

protected T dispatchByteArrayProperty(Byte[] property,
                                      K param)

dispatchCharacterArrayProperty

protected T dispatchCharacterArrayProperty(Character[] property,
                                           K param)

dispatchShortArrayProperty

protected T dispatchShortArrayProperty(Short[] property,
                                       K param)

dispatchIntegerArrayProperty

protected T dispatchIntegerArrayProperty(Integer[] property,
                                         K param)

dispatchLongArrayProperty

protected T dispatchLongArrayProperty(Long[] property,
                                      K param)

dispatchFloatArrayProperty

protected T dispatchFloatArrayProperty(Float[] property,
                                       K param)

dispatchDoubleArrayProperty

protected T dispatchDoubleArrayProperty(Double[] property,
                                        K param)

dispatchBooleanArrayProperty

protected T dispatchBooleanArrayProperty(Boolean[] property,
                                         K param)

dispatchStringProperty

protected abstract T dispatchStringProperty(String property,
                                            K param)

dispatchStringArrayProperty

protected T dispatchStringArrayProperty(String[] property,
                                        K param)

dispatchStringArrayProperty

protected T dispatchStringArrayProperty(PropertyTypeDispatcher.PropertyArray<String[],String> array,
                                        K param)

dispatchByteArrayProperty

protected T dispatchByteArrayProperty(PropertyTypeDispatcher.PropertyArray<byte[],Byte> array,
                                      K param)

dispatchCharacterArrayProperty

protected T dispatchCharacterArrayProperty(PropertyTypeDispatcher.PropertyArray<char[],Character> array,
                                           K param)

dispatchShortArrayProperty

protected T dispatchShortArrayProperty(PropertyTypeDispatcher.PropertyArray<short[],Short> array,
                                       K param)

dispatchIntegerArrayProperty

protected T dispatchIntegerArrayProperty(PropertyTypeDispatcher.PropertyArray<int[],Integer> array,
                                         K param)

dispatchLongArrayProperty

protected T dispatchLongArrayProperty(PropertyTypeDispatcher.PropertyArray<long[],Long> array,
                                      K param)

dispatchFloatArrayProperty

protected T dispatchFloatArrayProperty(PropertyTypeDispatcher.PropertyArray<float[],Float> array,
                                       K param)

dispatchDoubleArrayProperty

protected T dispatchDoubleArrayProperty(PropertyTypeDispatcher.PropertyArray<double[],Double> array,
                                        K param)

dispatchBooleanArrayProperty

protected T dispatchBooleanArrayProperty(PropertyTypeDispatcher.PropertyArray<boolean[],Boolean> array,
                                         K param)

dispatchNumberArray

protected T dispatchNumberArray(PropertyTypeDispatcher.PropertyArray<?,? extends Number> array,
                                K param)

dispatchArray

protected T dispatchArray(PropertyTypeDispatcher.PropertyArray<?,?> array,
                          K param)


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.