|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.admin.components.Parameter
public class Parameter
Java class for ParameterType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ParameterType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="label" type="{http://silverpeas.org/xml/ns/component}multilang"/>
<element name="order" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="mandatory" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="options" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="option" type="{http://silverpeas.org/xml/ns/component}ParameterOptionType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="type">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="checkbox"/>
<enumeration value="select"/>
<enumeration value="xmltemplates"/>
<enumeration value="text"/>
<enumeration value="radio"/>
</restriction>
</simpleType>
</element>
<element name="size" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="updatable">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="always"/>
<enumeration value="creation"/>
<enumeration value="never"/>
</restriction>
</simpleType>
</element>
<element name="help" type="{http://silverpeas.org/xml/ns/component}multilang"/>
<element name="personalSpaceValue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected HashMap<String,String> |
help
|
protected HashMap<String,String> |
label
|
protected boolean |
mandatory
|
protected String |
name
|
protected List<Option> |
options
|
protected int |
order
|
protected String |
personalSpaceValue
|
protected Integer |
size
|
protected String |
type
|
protected String |
updatable
|
protected String |
value
|
protected HashMap<String,String> |
warning
|
| Constructor Summary | |
|---|---|
Parameter()
|
|
| Method Summary | |
|---|---|
Parameter |
clone()
|
HashMap<String,String> |
getHelp()
Gets the value of the help property. |
String |
getHelp(String lang)
|
HashMap<String,String> |
getLabel()
Gets the value of the label property. |
String |
getLabel(String lang)
|
String |
getName()
Gets the value of the name property. |
List<Option> |
getOptions()
Gets the value of the options property. |
int |
getOrder()
Gets the value of the order property. |
String |
getPersonalSpaceValue()
Gets the value of the personalSpaceValue property. |
Integer |
getSize()
Gets the value of the size property. |
String |
getType()
Gets the value of the type property. |
String |
getUpdatable()
Gets the value of the updatable property. |
String |
getValue()
Gets the value of the value property. |
HashMap<String,String> |
getWarning()
Gets the value of the warning property. |
String |
getWarning(String lang)
|
boolean |
isAlwaysUpdatable()
|
boolean |
isCheckbox()
|
boolean |
isHidden()
|
boolean |
isMandatory()
Gets the value of the mandatory property. |
boolean |
isNeverUpdatable()
|
boolean |
isRadio()
|
boolean |
isSelect()
|
boolean |
isText()
|
boolean |
isUpdatableOnCreationOnly()
|
boolean |
isVisible()
|
boolean |
isXmlTemplate()
|
void |
setHelp(HashMap<String,String> value)
Sets the value of the help property. |
void |
setLabel(HashMap<String,String> value)
Sets the value of the label property. |
void |
setMandatory(boolean value)
Sets the value of the mandatory property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setOptions(List<Option> options)
|
void |
setOrder(int value)
Sets the value of the order property. |
void |
setPersonalSpaceValue(String value)
Sets the value of the personalSpaceValue property. |
void |
setSize(Integer value)
Sets the value of the size property. |
void |
setType(String value)
Sets the value of the type property. |
void |
setUpdatable(String value)
Sets the value of the updatable property. |
void |
setValue(String value)
Sets the value of the value property. |
void |
setWarning(HashMap<String,String> value)
Sets the value of the warning property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected HashMap<String,String> label
protected int order
protected boolean mandatory
protected String value
protected List<Option> options
protected String type
protected Integer size
protected String updatable
protected HashMap<String,String> help
protected HashMap<String,String> warning
protected String personalSpaceValue
| Constructor Detail |
|---|
public Parameter()
| Method Detail |
|---|
public String getName()
Stringpublic void setName(String value)
value - allowed object is Stringpublic HashMap<String,String> getLabel()
Multilangpublic String getLabel(String lang)
public void setLabel(HashMap<String,String> value)
value - allowed object is Multilangpublic int getOrder()
public void setOrder(int value)
public boolean isMandatory()
public void setMandatory(boolean value)
public String getValue()
Stringpublic void setValue(String value)
value - allowed object is Stringpublic List<Option> getOptions()
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 options property.
For example, to add a new item, do as follows:
getOptions().add(newItem);
Objects of the following type(s) are allowed in the list Parameter.Options
public void setOptions(List<Option> options)
public String getType()
Stringpublic void setType(String value)
value - allowed object is Stringpublic Integer getSize()
Integerpublic void setSize(Integer value)
value - allowed object is Integerpublic String getUpdatable()
Stringpublic void setUpdatable(String value)
value - allowed object is Stringpublic String getHelp(String lang)
public HashMap<String,String> getHelp()
Multilangpublic void setHelp(HashMap<String,String> value)
value - allowed object is Multilangpublic HashMap<String,String> getWarning()
Multilangpublic String getWarning(String lang)
public void setWarning(HashMap<String,String> value)
value - allowed object is Multilangpublic String getPersonalSpaceValue()
Stringpublic void setPersonalSpaceValue(String value)
value - allowed object is Stringpublic boolean isVisible()
public boolean isHidden()
public boolean isUpdatableOnCreationOnly()
public boolean isAlwaysUpdatable()
public boolean isNeverUpdatable()
public boolean isText()
public boolean isCheckbox()
public boolean isRadio()
public boolean isSelect()
public boolean isXmlTemplate()
public Parameter clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||