org.apache.shale.tiger.managed.config
Class ManagedBeanConfig

java.lang.Object
  extended by org.apache.shale.tiger.managed.config.ManagedBeanConfig
All Implemented Interfaces:
ListEntriesHolder, MapEntriesHolder

public class ManagedBeanConfig
extends Object
implements ListEntriesHolder, MapEntriesHolder

Representation of the runtime relevant contents of a JavaServer Faces <managed-bean> configuration element.


Constructor Summary
ManagedBeanConfig()
          Creates a new instance of ManagedBeanConfig.
 
Method Summary
 void addProperty(ManagedPropertyConfig property)
          Add the specified managed property to the set that is associated with this managed bean, replacing any previous entry.
 ListEntriesConfig getListEntries()
          Getter for property listEntries.
 MapEntriesConfig getMapEntries()
          Getter for property mapEntries.
 String getName()
          Getter for property name.
 Map<String,ManagedPropertyConfig> getProperties()
          Return the list of managed properties associated with this managed bean.
 ManagedPropertyConfig getProperty(String name)
          Return the managed property (associated with this managed bean) with the specified name, if any; otherwise, return null.
 String getScope()
          Getter for property scope.
 String getType()
          Getter for property type.
 void setListEntries(ListEntriesConfig listEntries)
          Setter for property listEntries.
 void setMapEntries(MapEntriesConfig mapEntries)
          Setter for property mapEntries.
 void setName(String name)
          Setter for property name.
 void setScope(String scope)
          Setter for property scope.
 void setType(String type)
          Setter for property type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedBeanConfig

public ManagedBeanConfig()
Creates a new instance of ManagedBeanConfig.

Method Detail

getName

public String getName()
Getter for property name.

Returns:
Value of property name.

setName

public void setName(String name)
Setter for property name.

Parameters:
name - New value of property name.

getType

public String getType()
Getter for property type.

Returns:
Value of property type.

setType

public void setType(String type)
Setter for property type.

Parameters:
type - New value of property type.

getScope

public String getScope()
Getter for property scope.

Returns:
Value of property scope.

setScope

public void setScope(String scope)
Setter for property scope.

Parameters:
scope - New value of property scope.

addProperty

public void addProperty(ManagedPropertyConfig property)

Add the specified managed property to the set that is associated with this managed bean, replacing any previous entry.

Parameters:
property - The managed property to add

getProperties

public Map<String,ManagedPropertyConfig> getProperties()

Return the list of managed properties associated with this managed bean.


getProperty

public ManagedPropertyConfig getProperty(String name)

Return the managed property (associated with this managed bean) with the specified name, if any; otherwise, return null.

Parameters:
name - Name of the managed property to return

getListEntries

public ListEntriesConfig getListEntries()
Getter for property listEntries.

Specified by:
getListEntries in interface ListEntriesHolder
Returns:
Value of property listEntries.

setListEntries

public void setListEntries(ListEntriesConfig listEntries)
Setter for property listEntries.

Specified by:
setListEntries in interface ListEntriesHolder
Parameters:
listEntries - New value of property listEntries.

getMapEntries

public MapEntriesConfig getMapEntries()
Getter for property mapEntries.

Specified by:
getMapEntries in interface MapEntriesHolder
Returns:
Value of property mapEntries.

setMapEntries

public void setMapEntries(MapEntriesConfig mapEntries)
Setter for property mapEntries.

Specified by:
setMapEntries in interface MapEntriesHolder
Parameters:
mapEntries - New value of property mapEntries.


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.