org.apache.jetspeed.om.registry.base
Class BaseParameter

java.lang.Object
  extended byorg.apache.jetspeed.om.registry.base.BaseRegistryEntry
      extended byorg.apache.jetspeed.om.registry.base.BaseParameter
All Implemented Interfaces:
Parameter, RegistryEntry, java.io.Serializable
Direct Known Subclasses:
BaseCachedParameter

public class BaseParameter
extends BaseRegistryEntry
implements Parameter, java.io.Serializable

Bean like implementation of the Parameter interface suitable for Castor serialization.

Version:
$Id: BaseParameter.java,v 1.6 2005/05/04 20:26:37 morciuch Exp $
Author:
Raphaël Luta
See Also:
Parameter, Serialized Form

Field Summary
 
Fields inherited from class org.apache.jetspeed.om.registry.base.BaseRegistryEntry
_hidden, hidden, id, metaInfo, name, security, securityRef
 
Constructor Summary
BaseParameter()
           
 
Method Summary
 boolean equals(java.lang.Object object)
          Implements the equals operation so that 2 elements are equal if all their member values are equal.
 BaseParameterStyle getBaseParameterStyle()
           
 ParameterStyle getParameterStyle()
          Returns parameter style object
 java.lang.String getType()
           
 java.lang.String getValue()
           
 void setBaseParameterStyle(ParameterStyle style)
           
 void setParameterStyle(ParameterStyle style)
          Sets the parameter style object
 void setType(java.lang.String type)
          Sets the type of this parameter.value.
 void setValue(java.lang.String value)
          Sets the value of this parameter.
 
Methods inherited from class org.apache.jetspeed.om.registry.base.BaseRegistryEntry
getBaseMetaInfo, getBaseSecurity, getDescription, getHidden, getId, getMetaInfo, getName, getSecurity, getSecurityRef, getTitle, isHidden, setBaseMetaInfo, setBaseSecurity, setDescription, setHidden, setMetaInfo, setName, setSecurity, setSecurityRef, setTitle
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.om.registry.RegistryEntry
getDescription, getId, getMetaInfo, getName, getSecurity, getSecurityRef, getTitle, isHidden, setDescription, setHidden, setMetaInfo, setName, setSecurity, setSecurityRef, setTitle
 

Constructor Detail

BaseParameter

public BaseParameter()
Method Detail

equals

public boolean equals(java.lang.Object object)
Implements the equals operation so that 2 elements are equal if all their member values are equal.

Overrides:
equals in class BaseRegistryEntry

getValue

public java.lang.String getValue()
Specified by:
getValue in interface Parameter
Returns:
the value for this parameter

setValue

public void setValue(java.lang.String value)
Sets the value of this parameter.

Specified by:
setValue in interface Parameter
Parameters:
value - the new parameter value

getType

public java.lang.String getType()
Specified by:
getType in interface Parameter
Returns:
the parameter's type

setType

public void setType(java.lang.String type)
Sets the type of this parameter.value.

Specified by:
setType in interface Parameter
Parameters:
type - the new parameter type

getParameterStyle

public ParameterStyle getParameterStyle()
Description copied from interface: Parameter
Returns parameter style object

Specified by:
getParameterStyle in interface Parameter
Returns:
parameter style

getBaseParameterStyle

public BaseParameterStyle getBaseParameterStyle()

setParameterStyle

public void setParameterStyle(ParameterStyle style)
Description copied from interface: Parameter
Sets the parameter style object

Specified by:
setParameterStyle in interface Parameter
Parameters:
style -

setBaseParameterStyle

public void setBaseParameterStyle(ParameterStyle style)


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.