Class ComponentRepresentation


  • public class ComponentRepresentation
    extends Object
    A class to represent a ComponentRole with a serialized type.
    Since:
    12.2
    Version:
    $Id: c3ad03f0115e64ae61305b63ddbd1922027766e0 $
    • Constructor Detail

      • ComponentRepresentation

        public ComponentRepresentation()
    • Method Detail

      • getRole

        public String getRole()
        Returns:
        the role of the component or the default role.
      • setRole

        public void setRole​(String role)
        Set the role of the component to retrieve.
        Parameters:
        role - the role used for this component.
      • getType

        public String getType()
        Returns:
        the serialized type of the component. This value is mandatory.
      • setType

        public void setType​(String type)
        Set the serialized type of the component.
        Parameters:
        type - a serialized string corresponding to the type of the component.