com.xenonsoft.bridgetown.soa.config
Class SetConfig

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

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

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

Version:
$Id: SetConfig.java,v 1.2 2005/02/23 01:31:13 peter_pilgrim Exp $
Author:
Peter Pilgrim, 06 Feb 2005
See Also:
Serialized Form

Constructor Summary
SetConfig()
          Default constructor
 
Method Summary
 void addReference(java.lang.String newRefServBean)
          Appends an value reference configuration with a referenced bean to the end of the set
 void addValue(java.lang.Object newValue)
          Appends an value reference configuration with a item value to the end of the set
 void addValueRef(ValueReferenceConfig valueRef)
          Appends an value reference configuration to the end of the set
 java.util.Collection getCollection()
          Gets the set as a generic collection
 java.util.Set getSet()
          Gets the set
 void setSet(java.util.Set set)
          Sets the set
 void setValueFromCollectionConfig(ICollectionConfig collectionConfig)
          Sets the value of the property from a set 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

SetConfig

public SetConfig()
Default constructor

Method Detail

getCollection

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

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

getSet

public java.util.Set getSet()
Gets the set

Returns:
Returns the set.

setSet

public void setSet(java.util.Set set)
Sets the set

Parameters:
set - the new value for set

addValue

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

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 set

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 set

Parameters:
valueRef - the value reference to apply

setValueFromCollectionConfig

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

Specified by:
setValueFromCollectionConfig in interface IAnonymousCollectionMutator
Parameters:
collectionConfig - the collectionm 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.