- java.lang.Object
-
- org.tentackle.fx.ValueTranslatorKey<M,V>
-
- Type Parameters:
M- the model's typeV- the view's type
public class ValueTranslatorKey<M,V> extends java.lang.ObjectThe unique key for value translators.- Author:
- harald
-
-
Constructor Summary
Constructors Constructor Description ValueTranslatorKey(java.lang.Class<M> modelClass, java.lang.Class<V> viewClass)Creates a translator key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.Class<M>getModelClass()Gets the model's class.java.lang.Class<V>getViewClass()Gets the view' class.inthashCode()
-
-
-
Method Detail
-
getModelClass
public java.lang.Class<M> getModelClass()
Gets the model's class.- Returns:
- the class
-
getViewClass
public java.lang.Class<V> getViewClass()
Gets the view' class.- Returns:
- the class
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-