public class AttributesStrategy extends MObject implements PojoStrategy
| Constructor and Description |
|---|
AttributesStrategy() |
AttributesStrategy(boolean embedded,
boolean toLower,
String embedGlue,
Class<? extends Annotation>[] annotationMarker) |
| Modifier and Type | Method and Description |
|---|---|
protected LinkedList<Field> |
getAttributes(Class<?> clazz) |
protected boolean |
isEmbedded(Field field) |
protected boolean |
isMarker(Field field) |
void |
parse(PojoParser parser,
Class<?> clazz,
PojoModelImpl model) |
protected void |
parse(String prefix,
de.mhus.lib.core.pojo.AttributesStrategy.Attribute<Object> parent,
PojoParser parser,
Class<?> clazz,
PojoModelImpl model) |
void |
parseObject(PojoParser parser,
Object pojo,
PojoModelImpl model) |
base, base, createBase, forkBase, installBase, isBase, leaveBase, toStringpublic AttributesStrategy()
public AttributesStrategy(boolean embedded,
boolean toLower,
String embedGlue,
Class<? extends Annotation>[] annotationMarker)
public void parseObject(PojoParser parser, Object pojo, PojoModelImpl model)
parseObject in interface PojoStrategypublic void parse(PojoParser parser, Class<?> clazz, PojoModelImpl model)
parse in interface PojoStrategyprotected void parse(String prefix, de.mhus.lib.core.pojo.AttributesStrategy.Attribute<Object> parent, PojoParser parser, Class<?> clazz, PojoModelImpl model)
protected boolean isEmbedded(Field field)
protected boolean isMarker(Field field)
protected LinkedList<Field> getAttributes(Class<?> clazz)
Copyright © 2014. All rights reserved.