com.xenonsoft.bridgetown.soa.config
Class EntryConfig

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

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

This is an object that stores entry element that represents a name value pair after parsing the bridgetown XML configuration file.

Version:
$Id: EntryConfig.java,v 1.4 2005/02/23 01:31:13 peter_pilgrim Exp $
Author:
Peter Pilgrim, 31-Jul-2004
See Also:
Serialized Form

Field Summary
protected  java.lang.String key
          The key for this entry
protected  ValueReferenceConfig valueRef
          the value reference configuration for this entry
 
Constructor Summary
EntryConfig()
          Default constructor
 
Method Summary
 java.lang.String getKey()
          Gets the key
 ValueReferenceConfig getValueRef()
          Gets the value
 void setKey(java.lang.String key)
          Sets the key
 void setRefService(java.lang.String refServBean)
          Convenience method to set the reference service (bean name) for the entry config
 void setValue(java.lang.Object itemValue)
          Convenience method to set the item value for the entry config
 void setValueFromCollectionConfig(ICollectionConfig collectionConfig)
          Sets the value of the property from a collection configuration
 void setValueFromMapConfig(MapConfig mapConfig)
          Sets the value of the property from a map configuration
 void setValueRef(ValueReferenceConfig valueRef)
          Sets the value
 java.lang.String toString()
          Gets debuggable string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

protected java.lang.String key
The key for this entry


valueRef

protected ValueReferenceConfig valueRef
the value reference configuration for this entry

Constructor Detail

EntryConfig

public EntryConfig()
Default constructor

Method Detail

getKey

public java.lang.String getKey()
Gets the key

Returns:
Returns the key.

setKey

public void setKey(java.lang.String key)
Sets the key

Parameters:
key - The key to set.

getValueRef

public ValueReferenceConfig getValueRef()
Gets the value

Returns:
Returns the value.

setValueRef

public void setValueRef(ValueReferenceConfig valueRef)
Sets the value


setValue

public void setValue(java.lang.Object itemValue)
Convenience method to set the item value for the entry config

Parameters:
itemValue - the item value

setRefService

public void setRefService(java.lang.String refServBean)
Convenience method to set the reference service (bean name) for the entry config

Parameters:
refServBean - the reference bean name

setValueFromCollectionConfig

public void setValueFromCollectionConfig(ICollectionConfig collectionConfig)
Sets the value of the property from a collection 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.