public class SdkTypeDefinition extends Object
| Constructor and Description |
|---|
SdkTypeDefinition(SdkConnector sdkConnector,
ConnectorOperation operation,
boolean input)
Initialize type definition that creates a type schema file in the resources directory.
|
SdkTypeDefinition(TypeDefinition typeDefinition)
Initialize type definition that wont create a type schema file.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getElementName() |
Type |
getJavaType() |
Type |
getParameterPrimitiveJavaType() |
com.squareup.javapoet.TypeName |
getParameterTypeName() |
String |
getSchemaPath() |
boolean |
isArrayType() |
public SdkTypeDefinition(TypeDefinition typeDefinition)
typeDefinition - The type descriptionpublic SdkTypeDefinition(SdkConnector sdkConnector, ConnectorOperation operation, boolean input)
sdkConnector - the parent SdkConnector for this typeoperation - The operation for which this input/output metadata will be createdinput - Is this input metadata? If not it will be treated as outputpublic String getSchemaPath()
public String getElementName()
public Type getJavaType()
public Type getParameterPrimitiveJavaType()
public com.squareup.javapoet.TypeName getParameterTypeName()
public boolean isArrayType()
Copyright © 2019. All rights reserved.