public class OtclCommandDtoFactory extends Object
| Constructor and Description |
|---|
OtclCommandDtoFactory() |
| Modifier and Type | Method and Description |
|---|---|
static OtclCommandDto |
create(OtclConstants.TARGET_SOURCE enumTargetOrSource,
String otclToken,
String tokenPath,
int idx,
String fldName,
String concreteType,
boolean isRootNode,
Field field,
Class<?> fldType,
Class<?> genericType,
boolean isLeaf)
Creates the.
|
static OtclCommandDto |
createCollectionMember(OtclCommandDto otclCommandDto,
boolean isLeaf)
Creates a new OtclCommandDto object.
|
static OtclCommandDto |
createMapMember(OtclCommandDto otclCommandDto,
Type parameterizedType,
boolean isLeaf,
boolean isKey)
Creates a new OtclCommandDto object.
|
static OtclCommandDto |
createMapMember(String id,
OtclCommandDto otclCommandDto,
String otclChain,
String[] otclTokens,
boolean isLeaf)
Creates a new OtclCommandDto object.
|
static void |
createMembers(String id,
OtclCommandDto otclCommandDto,
String otclChain,
String[] otclTokens)
Creates a new OtclCommandDto object.
|
public static OtclCommandDto create(OtclConstants.TARGET_SOURCE enumTargetOrSource, String otclToken, String tokenPath, int idx, String fldName, String concreteType, boolean isRootNode, Field field, Class<?> fldType, Class<?> genericType, boolean isLeaf)
enumTargetOrSource - the enum target or sourceotclToken - the otcl tokentokenPath - the token pathidx - the idxfldName - the fld nameconcreteType - the concrete typeisRootNode - the is root nodefield - the fieldfldType - the fld typegenericType - the generic typeisLeaf - the is leafpublic static void createMembers(String id, OtclCommandDto otclCommandDto, String otclChain, String[] otclTokens)
id - the idotclCommandDto - the otcl command dtootclChain - the otcl chainotclTokens - the otcl tokenspublic static OtclCommandDto createCollectionMember(OtclCommandDto otclCommandDto, boolean isLeaf)
otclCommandDto - the otcl command dtoisLeaf - the is leafpublic static OtclCommandDto createMapMember(String id, OtclCommandDto otclCommandDto, String otclChain, String[] otclTokens, boolean isLeaf)
id - the idotclCommandDto - the otcl command dtootclChain - the otcl chainotclTokens - the otcl tokensisLeaf - the is leafpublic static OtclCommandDto createMapMember(OtclCommandDto otclCommandDto, Type parameterizedType, boolean isLeaf, boolean isKey)
otclCommandDto - the otcl command dtoparameterizedType - the parameterized typeisLeaf - the is leafisKey - the is keyCopyright © 2021. All rights reserved.