public abstract static class OtclCommandDto.Builder extends Object
| Constructor and Description |
|---|
Builder() |
public abstract OtclCommandDto build()
public OtclCommandDto.Builder addTargetOrSource(OtclConstants.TARGET_SOURCE enumTargetOrSource)
enumTargetOrSource - the enum target or sourcepublic OtclCommandDto.Builder addOtclToken(String otclToken)
otclToken - the otcl tokenpublic OtclCommandDto.Builder addTokenPath(String chainPath)
chainPath - the chain pathpublic OtclCommandDto.Builder addOtclTokenIndex(int otclTokenIndex)
otclTokenIndex - the otcl token indexpublic OtclCommandDto.Builder addIsRootNode(boolean isRootNode)
isRootNode - the is root nodepublic OtclCommandDto.Builder addCollectionDefiner(OtclCommandDto.CollectionDescriptor collectionDescriptor)
collectionDescriptor - the collection descriptorpublic OtclCommandDto.Builder addConcreteTypeName(String concreteTypeName)
concreteTypeName - the concrete type namepublic OtclCommandDto.Builder addFieldName(String fieldName)
fieldName - the field namepublic OtclCommandDto.Builder addField(Field field)
field - the fieldpublic OtclCommandDto.Builder addFieldType(Class<?> fieldType)
fieldType - the field typepublic OtclCommandDto.Builder addConcreteType(Class<?> concreteType)
concreteType - the concrete typepublic OtclCommandDto.Builder addParent(OtclCommandDto parent)
parent - the parentpublic OtclCommandDto.Builder addChild(String fieldName, OtclCommandDto otclCommandDto)
fieldName - the field nameotclCommandDto - the otcl command dtoCopyright © 2021. All rights reserved.