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