com.silverpeas.admin.components
Class Option

java.lang.Object
  extended by com.silverpeas.admin.components.Option
All Implemented Interfaces:
Cloneable

public class Option
extends Object
implements Cloneable

Java class for ParameterOptionType complex type.

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

 <complexType name="ParameterOptionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://silverpeas.org/xml/ns/component}multilang"/>
         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  HashMap<String,String> name
           
protected  String value
           
 
Constructor Summary
Option()
           
 
Method Summary
 Option clone()
           
 HashMap<String,String> getName()
          Gets the value of the name property.
 String getName(String lang)
           
 String getValue()
          Gets the value of the value property.
 void setName(HashMap<String,String> value)
          Sets the value of the name property.
 void setValue(String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected HashMap<String,String> name

value

protected String value
Constructor Detail

Option

public Option()
Method Detail

getName

public HashMap<String,String> getName()
Gets the value of the name property.

Returns:
possible object is Multilang

getName

public String getName(String lang)

setName

public void setName(HashMap<String,String> value)
Sets the value of the name property.

Parameters:
value - allowed object is Multilang

getValue

public String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

clone

public Option clone()
Overrides:
clone in class Object


Copyright © 2016 Silverpeas. All Rights Reserved.