@Unstable public class ComponentRepresentation extends Object
ComponentRole
with a serialized type.Constructor and Description |
---|
ComponentRepresentation() |
Modifier and Type | Method and Description |
---|---|
String |
getRole() |
String |
getType() |
void |
setRole(String role)
Set the role of the component to retrieve.
|
void |
setType(String type)
Set the serialized type of the component.
|
public String getRole()
public void setRole(String role)
role
- the role used for this component.public String getType()
public void setType(String type)
type
- a serialized string corresponding to the type of the component.Copyright © 2004–2022 XWiki. All rights reserved.