public final class Scan extends Object
| Constructor and Description |
|---|
Scan() |
| Modifier and Type | Method and Description |
|---|---|
static String |
findIdValueIn(Object data)
Finds the value of the ID property in the data object.
|
static String |
recordIdFieldNameIn(Class klass)
Search field with @RecordId
|
public static String recordIdFieldNameIn(Class klass)
klass - Class to search @RecordIdpublic static String findIdValueIn(Object data)
data - the object to search for an idRecordIdNotFoundException - if data does not have a field annotated with @RecordIdCopyright © 2014 JBoss by Red Hat. All rights reserved.