Modifier and Type | Method and Description |
---|---|
GeneratedProperty |
GeneratedPropertyBuilderImpl.toInstance(Type definingType) |
Modifier and Type | Method and Description |
---|---|
protected GeneratedProperty |
BaseRenderer.findProperty(GeneratedTransferObject gto,
String name) |
Modifier and Type | Method and Description |
---|---|
protected Collection<GeneratedProperty> |
ClassRenderer.getAllProperties() |
protected List<GeneratedProperty> |
ClassRenderer.getFinalProperties() |
protected List<GeneratedProperty> |
ClassRenderer.getParentProperties() |
protected List<GeneratedProperty> |
ClassRenderer.getProperties() |
Modifier and Type | Method and Description |
---|---|
protected String |
UnionRenderer.getterMethod(GeneratedProperty field) |
protected String |
BaseRenderer.getterMethod(GeneratedProperty field)
Template method which generates the getter method for field.
|
Modifier and Type | Method and Description |
---|---|
protected String |
BaseRenderer.asArgumentsDeclaration(Collection<GeneratedProperty> parameters)
Template method which generates method parameters with their types from
parameters . |
Modifier and Type | Method and Description |
---|---|
static String |
TextTemplateUtil.fieldName(GeneratedProperty property)
sets fieldname according to property for return type.
|
static String |
TextTemplateUtil.getterMethodName(GeneratedProperty field)
Helper method for building getter.
|
static String |
TextTemplateUtil.setterMethod(GeneratedProperty field,
String typeName,
String returnTypeName)
Returns built setter method body from input parameters.
|
Modifier and Type | Method and Description |
---|---|
static String |
TextTemplateUtil.asArguments(List<GeneratedProperty> parameters)
Template method which generates sequence of the names of the class attributes.
|
static String |
TextTemplateUtil.getPropertyList(List<GeneratedProperty> properties)
Returns list of properties as formatted String.
|
static String |
TextTemplateUtil.propsAsArgs(Iterable<GeneratedProperty> properties)
Returns collection of properties as formatted String.
|
static String |
TextTemplateUtil.propsAsList(Iterable<GeneratedProperty> properties,
String booleanName)
Returns properties as formatted String.
|
static String |
TextTemplateUtil.valueForBits(List<GeneratedProperty> properties)
Returns properties names in formatted string.
|
Modifier and Type | Method and Description |
---|---|
GeneratedProperty |
GeneratedTransferObject.getSUID() |
Modifier and Type | Method and Description |
---|---|
List<GeneratedProperty> |
GeneratedTransferObject.getEqualsIdentifiers()
Returns List of Properties that are designated to define equality for
Generated Transfer Object.
|
List<GeneratedProperty> |
GeneratedTransferObject.getHashCodeIdentifiers()
Returns List of Properties that are designated to define identity for
Generated Transfer Object.
|
List<GeneratedProperty> |
GeneratedType.getProperties()
Returns List of Properties that are declared for Generated Transfer
Object.
|
List<GeneratedProperty> |
GeneratedTransferObject.getToStringIdentifiers()
Returns List of Properties that will be members of toString definition
for Generated Transfer Object.
|
Modifier and Type | Method and Description |
---|---|
GeneratedProperty |
GeneratedPropertyBuilder.toInstance(Type definingType)
Returns
new immutable instance of Generated Property. |
Copyright © 2019 OpenDaylight. All rights reserved.