Modifier and Type | Field and Description |
---|---|
protected Iterable<GeneratedProperty> |
ClassTemplate.allProperties |
protected List<GeneratedProperty> |
ClassTemplate.finalProperties |
protected List<GeneratedProperty> |
ClassTemplate.parentProperties |
protected List<GeneratedProperty> |
ClassTemplate.properties |
protected Set<GeneratedProperty> |
AbstractBuilderTemplate.properties
Set of class attributes (fields) which are derived from the getter methods names.
|
Modifier and Type | Method and Description |
---|---|
GeneratedProperty |
ClassTemplate.getPropByName(String name) |
Modifier and Type | Method and Description |
---|---|
protected CharSequence |
BaseTemplate.checkArgument(GeneratedProperty property,
Restrictions restrictions,
Type actualType,
String value) |
protected CharSequence |
BaseTemplate.fieldName(GeneratedProperty property) |
protected CharSequence |
ClassTemplate.genConstructor(GeneratedProperty property,
GeneratedProperty... other) |
protected CharSequence |
ClassTemplate.genConstructor(GeneratedProperty property,
GeneratedProperty... other) |
protected CharSequence |
BaseTemplate.generateCheckers(GeneratedProperty field,
Restrictions restrictions,
Type actualType) |
protected CharSequence |
BaseTemplate.getterMethod(GeneratedProperty field)
Template method which generates the getter method for
field |
protected String |
BaseTemplate.getterMethodName(GeneratedProperty field) |
protected boolean |
ClassTemplate.isReadOnly(GeneratedProperty field) |
protected CharSequence |
BaseTemplate.setterMethod(GeneratedProperty field)
Template method which generates the setter method for
field |
Modifier and Type | Method and Description |
---|---|
protected CharSequence |
BaseTemplate.asArguments(Iterable<GeneratedProperty> parameters)
Template method which generates sequence of the names of the class attributes from
parameters . |
protected CharSequence |
BaseTemplate.asArgumentsDeclaration(Iterable<GeneratedProperty> parameters)
Template method which generates method parameters with their types from
parameters . |
protected CharSequence |
BuilderImplTemplate.generateCopyKeys(List<GeneratedProperty> keyProps) |
protected abstract CharSequence |
AbstractBuilderTemplate.generateCopyKeys(List<GeneratedProperty> keyProps) |
protected CharSequence |
BuilderTemplate.generateCopyKeys(List<GeneratedProperty> keyProps) |
protected CharSequence |
BaseTemplate.generateToString(Collection<GeneratedProperty> properties) |
CharSequence |
AbstractBuilderTemplate.generateToString(Collection<GeneratedProperty> properties) |
protected CharSequence |
BaseTemplate.hashCodeResult(Collection<GeneratedProperty> properties) |
protected CharSequence |
ClassTemplate.propsAsArgs(Iterable<GeneratedProperty> properties) |
Constructor and Description |
---|
AbstractBuilderTemplate(org.opendaylight.mdsal.binding.java.api.generator.AbstractJavaGeneratedType javaType,
GeneratedType type,
GeneratedType targetType,
Set<GeneratedProperty> properties,
Type augmentType,
Type keyType) |
AbstractBuilderTemplate(GeneratedType type,
GeneratedType targetType,
Set<GeneratedProperty> properties,
Type augmentType,
Type keyType) |
BuilderTemplate(GeneratedType genType,
GeneratedType targetType,
Set<GeneratedProperty> properties,
Type augmentType,
Type keyType)
Constructs new instance of this class.
|
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. |
Modifier and Type | Method and Description |
---|---|
GeneratedProperty |
GeneratedPropertyBuilderImpl.toInstance(Type definingType) |
Copyright © 2019 OpenDaylight. All rights reserved.