Package de.mhus.lib.core.pojo
Class ActionsOnlyStrategy
- java.lang.Object
-
- de.mhus.lib.core.MLog
-
- de.mhus.lib.core.lang.MObject
-
- de.mhus.lib.core.pojo.ActionsOnlyStrategy
-
- All Implemented Interfaces:
ILog,PojoStrategy,MNlsProvider,Nls
public class ActionsOnlyStrategy extends MObject implements PojoStrategy
-
-
Constructor Summary
Constructors Constructor Description ActionsOnlyStrategy()ActionsOnlyStrategy(boolean toLower, Class<? extends Annotation>... annotationMarker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LinkedList<Method>getMethods(Class<?> clazz)booleanisAllowPublic()voidparse(PojoParser parser, Class<?> clazz, PojoModelImpl model)protected voidparse(String prefix, FunctionAttribute<Object> parent, PojoParser parser, Class<?> clazz, PojoModelImpl model, int level)voidparseObject(PojoParser parser, Object pojo, PojoModelImpl model)ActionsOnlyStrategysetAllowPublic(boolean allowPublic)
-
-
-
Constructor Detail
-
ActionsOnlyStrategy
public ActionsOnlyStrategy()
-
ActionsOnlyStrategy
@SafeVarargs public ActionsOnlyStrategy(boolean toLower, Class<? extends Annotation>... annotationMarker)
-
-
Method Detail
-
parse
public void parse(PojoParser parser, Class<?> clazz, PojoModelImpl model)
- Specified by:
parsein interfacePojoStrategy
-
parse
protected void parse(String prefix, FunctionAttribute<Object> parent, PojoParser parser, Class<?> clazz, PojoModelImpl model, int level)
-
getMethods
protected LinkedList<Method> getMethods(Class<?> clazz)
-
parseObject
public void parseObject(PojoParser parser, Object pojo, PojoModelImpl model)
- Specified by:
parseObjectin interfacePojoStrategy
-
isAllowPublic
public boolean isAllowPublic()
-
setAllowPublic
public ActionsOnlyStrategy setAllowPublic(boolean allowPublic)
-
-