com.silverpeas.admin.spaces
Class SpaceComponent

java.lang.Object
  extended by com.silverpeas.admin.spaces.SpaceComponent

public class SpaceComponent
extends Object

Java class for ComponentType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ComponentType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="parameter" type="{http://silverpeas.org/xml/ns/space}ParameterType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String description
           
protected  String label
           
protected  List<SpaceComponentParameter> parameters
           
protected  String type
           
 
Constructor Summary
SpaceComponent()
           
 
Method Summary
 String getDescription()
          Gets the value of the description property.
 String getLabel()
          Gets the value of the label property.
 List<SpaceComponentParameter> getParameters()
          Gets the value of the parameters property.
 String getType()
          Gets the value of the type property.
 void setDescription(String value)
          Sets the value of the description property.
 void setLabel(String value)
          Sets the value of the label property.
 void setParameters(List<SpaceComponentParameter> value)
           
 void setType(String value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected String type

label

protected String label

description

protected String description

parameters

protected List<SpaceComponentParameter> parameters
Constructor Detail

SpaceComponent

public SpaceComponent()
Method Detail

getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getLabel

public String getLabel()
Gets the value of the label property.

Returns:
possible object is String

setLabel

public void setLabel(String value)
Sets the value of the label property.

Parameters:
value - allowed object is String

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getParameters

public List<SpaceComponentParameter> getParameters()
Gets the value of the parameters property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the parameters property.

For example, to add a new item, do as follows:

 getParameters().add(newItem);
 

Objects of the following type(s) are allowed in the list SpaceComponentParameter


setParameters

public void setParameters(List<SpaceComponentParameter> value)


Copyright © 2016 Silverpeas. All Rights Reserved.