Class Parameter
- java.lang.Object
-
- com.syntifi.casper.sdk.model.contract.Parameter
-
public class Parameter extends java.lang.Object
Parameter to a method- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Parameter.ParameterBuilder
-
Constructor Summary
Constructors Constructor Description Parameter()
Parameter(AbstractCLType clType, java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Parameter.ParameterBuilder
builder()
AbstractCLType
getClType()
cl_type(CLType) The value of the entry: a casper `Key` type.protected java.lang.Object
getJsonClType()
The accessor for jackson serializationjava.lang.String
getName()
name(String) The name of the entry.void
setClType(AbstractCLType clType)
cl_type(CLType) The value of the entry: a casper `Key` type.protected void
setJsonClType(AbstractCLType clType)
void
setName(java.lang.String name)
name(String) The name of the entry.
-
-
-
Constructor Detail
-
Parameter
public Parameter(AbstractCLType clType, java.lang.String name)
-
Parameter
public Parameter()
-
-
Method Detail
-
setJsonClType
@ExcludeFromJacocoGeneratedReport protected void setJsonClType(AbstractCLType clType)
-
getJsonClType
@ExcludeFromJacocoGeneratedReport protected java.lang.Object getJsonClType()
The accessor for jackson serialization- Returns:
- String if cl_type is basic type, CLType object if not.
-
builder
public static Parameter.ParameterBuilder builder()
-
getClType
public AbstractCLType getClType()
cl_type(CLType) The value of the entry: a casper `Key` type.
-
getName
public java.lang.String getName()
name(String) The name of the entry.
-
setClType
public void setClType(AbstractCLType clType)
cl_type(CLType) The value of the entry: a casper `Key` type.
-
setName
public void setName(java.lang.String name)
name(String) The name of the entry.
-
-