public class AccessorDefinition extends Object
Modifier and Type | Class and Description |
---|---|
class |
AccessorDefinition.StandardGetter |
class |
AccessorDefinition.StandardSetter |
Constructor and Description |
---|
AccessorDefinition(String name,
String type) |
AccessorDefinition(String name,
String type,
String setterContent,
String getterContent) |
Modifier and Type | Method and Description |
---|---|
void |
addBean(ClassGenerator generator) |
void |
addBean(ClassGenerator generator,
boolean addLocalVariable,
boolean addGetter,
boolean addSetter) |
String |
getAnnotation() |
String |
getName() |
String |
getType() |
void |
setAnnotation(String annotation) |
void |
setGetterContent(String getterContent) |
void |
setName(String name) |
void |
setSetterContent(String setterContent) |
void |
setType(String type) |
static String |
variableCaseName(String variable) |
public void setSetterContent(String setterContent)
public void setGetterContent(String getterContent)
public void addBean(ClassGenerator generator)
public void addBean(ClassGenerator generator, boolean addLocalVariable, boolean addGetter, boolean addSetter)
public String getAnnotation()
public String getName()
public String getType()
public void setAnnotation(String annotation)
public void setName(String name)
public void setType(String type)
Copyright © 2016-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Apache Log4j Audit, Log4j, Log4j Audit, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.