Package de.mhus.lib.core.pojo
Class AttributesStrategy
- java.lang.Object
-
- de.mhus.lib.core.MLog
-
- de.mhus.lib.core.lang.MObject
-
- de.mhus.lib.core.pojo.AttributesStrategy
-
- All Implemented Interfaces:
ILog,PojoStrategy,MNlsProvider,Nls
public class AttributesStrategy extends MObject implements PojoStrategy
-
-
Constructor Summary
Constructors Constructor Description AttributesStrategy()AttributesStrategy(boolean embedded, boolean toLower, String embedGlue, Class<? extends Annotation>[] annotationMarker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAllowPublic()protected booleanisEmbedded(Field field)protected booleanisMarker(Field field)voidparse(PojoParser parser, Class<?> clazz, PojoModelImpl model)protected voidparse(String prefix, de.mhus.lib.core.pojo.AttributesStrategy.Attribute<Object> parent, PojoParser parser, Class<?> clazz, PojoModelImpl model)voidparseObject(PojoParser parser, Object pojo, PojoModelImpl model)AttributesStrategysetAllowPublic(boolean allowPublic)
-
-
-
Constructor Detail
-
AttributesStrategy
public AttributesStrategy()
-
AttributesStrategy
public AttributesStrategy(boolean embedded, boolean toLower, String embedGlue, Class<? extends Annotation>[] annotationMarker)
-
-
Method Detail
-
parseObject
public void parseObject(PojoParser parser, Object pojo, PojoModelImpl model)
- Specified by:
parseObjectin interfacePojoStrategy
-
parse
public void parse(PojoParser parser, Class<?> clazz, PojoModelImpl model)
- Specified by:
parsein interfacePojoStrategy
-
parse
protected void parse(String prefix, de.mhus.lib.core.pojo.AttributesStrategy.Attribute<Object> parent, PojoParser parser, Class<?> clazz, PojoModelImpl model)
-
isEmbedded
protected boolean isEmbedded(Field field)
-
isMarker
protected boolean isMarker(Field field)
-
isAllowPublic
public boolean isAllowPublic()
-
setAllowPublic
public AttributesStrategy setAllowPublic(boolean allowPublic)
-
-