public class UnionTemplate extends ClassTemplate
allProperties, consts, enums, finalProperties, genTO, parentProperties, properties, restrictions
Constructor and Description |
---|
UnionTemplate(GeneratedTransferObject genType)
Creates instance of this class with concrete
genType . |
UnionTemplate(org.opendaylight.mdsal.binding.java.api.generator.NestedJavaGeneratedType javaType,
GeneratedTransferObject genType)
Creates instance of this class with concrete
genType . |
Modifier and Type | Method and Description |
---|---|
CharSequence |
constructors() |
protected CharSequence |
copyConstructor() |
CharSequence |
generateStringValue() |
String |
typeBuilder() |
allValuesConstructor, annotationDeclaration, bitsArgs, body, constantsDeclarations, 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 UnionTemplate(org.opendaylight.mdsal.binding.java.api.generator.NestedJavaGeneratedType javaType, GeneratedTransferObject genType)
genType
.genType
- generated transfer object which will be transformed to JAVA class source codepublic UnionTemplate(GeneratedTransferObject genType)
genType
.genType
- generated transfer object which will be transformed to JAVA class source codepublic CharSequence constructors()
constructors
in class ClassTemplate
public String typeBuilder()
public CharSequence generateStringValue()
protected CharSequence copyConstructor()
copyConstructor
in class ClassTemplate
Copyright © 2019 OpenDaylight. All rights reserved.