public class UnionBuilderTemplate extends ClassTemplate
allProperties, consts, enums, finalProperties, genTO, parentProperties, properties, restrictions
Constructor and Description |
---|
UnionBuilderTemplate(GeneratedTransferObject genType)
Creates instance of this class with concrete
genType . |
Modifier and Type | Method and Description |
---|---|
CharSequence |
body() |
allValuesConstructor, annotationDeclaration, bitsArgs, constantsDeclarations, constructors, copyConstructor, defaultInstance, enumDeclarations, genConstructor, generateAsInnerClass, generateBody, generateClassDeclaration, generateEquals, generateFields, generateGetValueForBitsTypeDef, generateHashCode, genUnionConstructor, getPropByName, innerClassesDeclarations, isReadOnly, parentConstructor, propsAsArgs, suidDeclaration
asArguments, asArgumentsDeclaration, asCode, asJavadoc, asLink, checkArgument, emitConstant, encodeJavadocSymbols, fieldName, formatDataForJavaDoc, formatDataForJavaDoc, formatDataForJavaDoc, formatToParagraph, generate, generateCheckers, generateParameters, generateToString, getterMethod, getterMethodName, hashCodeResult, propertyNameFromGetter, setterMethod, wrapToDocumentation
public UnionBuilderTemplate(GeneratedTransferObject genType)
genType
.genType
- generated transfer object which will be transformed to JAVA class source codepublic CharSequence body()
body
in class ClassTemplate
Copyright © 2019 OpenDaylight. All rights reserved.