Package org.appng.xml.platform
Class Param
- java.lang.Object
-
- org.appng.xml.BaseObject
-
- org.appng.xml.platform.Param
-
- All Implemented Interfaces:
Serializable
public class Param extends BaseObject implements Serializable
A parameter, used for theUrlSchema
of aPageDefinition
and for parametrizingAction
s andDatasource
s.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Param()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefault()
The default-value for this parameter.String
getName()
The name of the parameter, must start with a character, after that only characters, digits and underscore are allowed.ParamType
getType()
TheParamType
for this parameter.String
getValue()
Gets the value of the value property.void
setDefault(String value)
Sets the value of the default property.void
setName(String value)
Sets the value of the name property.void
setType(ParamType value)
Sets the value of the type property.void
setValue(String value)
Sets the value of the value property.
-
-
-
Method Detail
-
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 isString
-
getName
public String getName()
The name of the parameter, must start with a character, after that only characters, digits and underscore are allowed.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getType
public ParamType getType()
TheParamType
for this parameter.- Returns:
- possible object is
ParamType
-
setType
public void setType(ParamType value)
Sets the value of the type property.- Parameters:
value
- allowed object isParamType
-
getDefault
public String getDefault()
The default-value for this parameter.- Returns:
- possible object is
String
-
-