public class BConnectorType extends BType
BConnectorType represents a Connector in Ballerina.pkgPath, typeName, valueClass| Constructor and Description |
|---|
BConnectorType(String typeName,
String pkgPath)
Create a
BConnectorType which represents the Ballerina Connector type. |
| Modifier and Type | Method and Description |
|---|---|
<V extends BValue> |
getEmptyValue()
Get the empty initialized value of this type.
|
int[] |
getFieldTypeCount() |
TypeSignature |
getSig() |
int |
getTag() |
<V extends BValue> |
getZeroValue()
Get the default value of the type.
|
void |
setFieldTypeCount(int[] fieldTypeCount) |
equals, getName, getPackagePath, getValueClass, hashCode, isNative, isPublic, toStringpublic int[] getFieldTypeCount()
public void setFieldTypeCount(int[] fieldTypeCount)
public <V extends BValue> V getZeroValue()
BTypeBType#getInitValue().getZeroValue in class BTypeV - Type of the valuepublic <V extends BValue> V getEmptyValue()
BTypeBType#getDefaultValue()).getEmptyValue in class BTypeV - Type of the valuepublic TypeSignature getSig()
Copyright © 2018 WSO2. All rights reserved.