com.xenonsoft.bridgetown.soa.config
Class ListConfig

java.lang.Object
  extended bycom.xenonsoft.bridgetown.soa.config.ListConfig
All Implemented Interfaces:
IAnonymousCollectionMutator, IAnonymousMapMutator, ICollectionConfig, java.io.Serializable

public class ListConfig
extends java.lang.Object
implements java.io.Serializable, ICollectionConfig, IAnonymousCollectionMutator, IAnonymousMapMutator

This is an object that stores arbitary list collection data after parsing the bridgetown XML configuration file.

Version:
$Id: ListConfig.java,v 1.4 2005/02/23 01:31:12 peter_pilgrim Exp $
Author:
Peter Pilgrim, Jul 30, 2004 3:14:48 PM
See Also:
Serialized Form

Constructor Summary
ListConfig()
          Default constructor
 
Method Summary
 void addReference(java.lang.String newRefServBean)
          Appends an value reference configuration with a referenced bean to the end of the list
 void addValue(java.lang.Object newValue)
          Appends an value reference configuration with a item value to the end of the list
 void addValueRef(ValueReferenceConfig valueRef)
          Appends an value reference configuration to the end of the list
 java.util.Collection getCollection()
          Gets the list as a generic collection
 java.util.List getList()
          Gets the list
 void setList(java.util.List list)
          Sets the list
 void setValueFromCollectionConfig(ICollectionConfig collectionConfig)
          Sets the value of the property from a list configuration
 void setValueFromMapConfig(MapConfig mapConfig)
          Sets the value of the property from a map configuration
 java.lang.String toString()
          Gets debuggable string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListConfig

public ListConfig()
Default constructor

Method Detail

getCollection

public java.util.Collection getCollection()
Gets the list as a generic collection

Specified by:
getCollection in interface ICollectionConfig
Returns:
the collection
See Also:
ICollectionConfig.getCollection()

getList

public java.util.List getList()
Gets the list

Returns:
Returns the list.

setList

public void setList(java.util.List list)
Sets the list

Parameters:
list - the new value for list

addValue

public void addValue(java.lang.Object newValue)
Appends an value reference configuration with a item value to the end of the list

Parameters:
newValue - the value of the item to apply

addReference

public void addReference(java.lang.String newRefServBean)
Appends an value reference configuration with a referenced bean to the end of the list

Parameters:
newRefServBean - the reference service bean of the item to apply

addValueRef

public void addValueRef(ValueReferenceConfig valueRef)
Appends an value reference configuration to the end of the list

Parameters:
valueRef - the value reference to apply

setValueFromCollectionConfig

public void setValueFromCollectionConfig(ICollectionConfig collectionConfig)
Sets the value of the property from a list configuration

Specified by:
setValueFromCollectionConfig in interface IAnonymousCollectionMutator
Parameters:
collectionConfig - the collection configuration

setValueFromMapConfig

public void setValueFromMapConfig(MapConfig mapConfig)
Sets the value of the property from a map configuration

Specified by:
setValueFromMapConfig in interface IAnonymousMapMutator
Parameters:
mapConfig -

toString

public java.lang.String toString()
Gets debuggable string



Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.