|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.simpleds.functions.AbstractPropertyFunction<T,P>
org.simpleds.functions.EntityToPropertyFunction<T,P>
T - the entity class typeP - the property typepublic class EntityToPropertyFunction<T,P>
Converts a persistent instance into a property value
| Constructor Summary | |
|---|---|
EntityToPropertyFunction(java.lang.Class<T> clazz,
java.lang.String propertyName)
Iterate over a consistent collection where all items share the same class. |
|
EntityToPropertyFunction(java.lang.String propertyName)
Iterate over a mixed collection where items can be of different types |
|
| Method Summary |
|---|
| Methods inherited from class org.simpleds.functions.AbstractPropertyFunction |
|---|
apply, consistent, getProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Function |
|---|
equals |
| Constructor Detail |
|---|
public EntityToPropertyFunction(java.lang.Class<T> clazz,
java.lang.String propertyName)
clazz - the entity class typepropertyName - the property namepublic EntityToPropertyFunction(java.lang.String propertyName)
propertyName - the property name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||