public class ComponentFunctionData extends Object
ComponentMetadata| Constructor and Description |
|---|
ComponentFunctionData() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the public description of the function, that can be used to generate
the corresponding Javadoc at the Java class.
|
String |
getName()
Gets the name of the function on the webcomponent.
|
List<ComponentFunctionParameterData> |
getParameters()
Gets the list of parameters of the function.
|
ComponentBasicType |
getReturns()
Gets the return type of the function.
|
void |
setDescription(String description)
Sets the public description of the function, that can be used to generate
the corresponding Javadoc at the Java class.
|
void |
setName(String name)
Sets the name of the function on the webcomponent.
|
void |
setParameters(List<ComponentFunctionParameterData> parameters)
Sets the list of parameters of the function.
|
void |
setReturns(ComponentBasicType returns)
Sets the return type of the function.
|
public String getName()
public void setName(String name)
name - The name of the function.public ComponentBasicType getReturns()
null if void.public void setReturns(ComponentBasicType returns)
returns - The type of the return, or null if void.public String getDescription()
public void setDescription(String description)
description - The function-level description.public List<ComponentFunctionParameterData> getParameters()
ComponentFunctionParameterData object.public void setParameters(List<ComponentFunctionParameterData> parameters)
ComponentFunctionParameterData object.parameters - The list of parameters of the function.Copyright © 2000–2019 Vaadin Ltd. All rights reserved.