com.xenonsoft.bridgetown.soa.config
Class ValueReferenceConfig

java.lang.Object
  extended bycom.xenonsoft.bridgetown.soa.config.ValueReferenceConfig
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ArgumentConfig

public class ValueReferenceConfig
extends java.lang.Object
implements java.io.Serializable

Value or reference Configuration for a JavaBean property configuration

The reference service context, if it is supplied, is normally expected to be a foreign service context and not the local one.

If this member is null, then assume the context is local.

Version:
$Id: ValueReferenceConfig.java,v 1.4 2005/02/23 01:31:11 peter_pilgrim Exp $
Author:
Peter Pilgrim, Jul 26, 2004 12:15:25 PM
See Also:
Serialized Form

Field Summary
protected  java.lang.String refContext
          The reference serice context
protected  java.lang.String refService
          The reference service bean.
protected  ServiceConfig refServiceConfig
          the service configuration
protected  java.lang.Object value
          The computed value of the value reference or the actual direct value as created and used by an external configuration loader.
static java.lang.String VALUE_REF_EMPTY
          A special constant to denote that a value reference is really interpreted as an empty string
static java.lang.String VALUE_REF_NULL
          A special constant to denote that a value reference is really interpreted as a Object NULL
 
Constructor Summary
ValueReferenceConfig()
          Default constructor
 
Method Summary
 java.lang.String getRefContext()
          Gets the referenced service context.
 java.lang.String getRefService()
          Gets the referenced service (bean) name
 ServiceConfig getRefServiceConfig()
          Gets the refServiceConfig associated with the reference bean name
 java.lang.Object getValue()
          Gets the value
 void setRefContext(java.lang.String refContext)
          Sets the referenced service context.
 void setRefService(java.lang.String service)
          Sets the referenced service (bean) name
 void setRefServiceConfig(ServiceConfig serviceConfig)
          Sets the refServiceConfig associated with the reference bean name
 void setValue(java.lang.Object value)
          Sets the value
 void setValueFromListConfig(ListConfig listConfig)
          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
 

Field Detail

VALUE_REF_EMPTY

public static final java.lang.String VALUE_REF_EMPTY
A special constant to denote that a value reference is really interpreted as an empty string

See Also:
Constant Field Values

VALUE_REF_NULL

public static final java.lang.String VALUE_REF_NULL
A special constant to denote that a value reference is really interpreted as a Object NULL

See Also:
Constant Field Values

value

protected java.lang.Object value
The computed value of the value reference or the actual direct value as created and used by an external configuration loader.


refContext

protected java.lang.String refContext
The reference serice context


refService

protected java.lang.String refService
The reference service bean.


refServiceConfig

protected ServiceConfig refServiceConfig
the service configuration

Constructor Detail

ValueReferenceConfig

public ValueReferenceConfig()
Default constructor

Method Detail

getValue

public java.lang.Object getValue()
Gets the value

Returns:
Returns the value.

setValue

public void setValue(java.lang.Object value)
Sets the value

Parameters:
value - The value to set.

getRefService

public java.lang.String getRefService()
Gets the referenced service (bean) name

Returns:
Returns the refService.

setRefService

public void setRefService(java.lang.String service)
Sets the referenced service (bean) name


getRefServiceConfig

public ServiceConfig getRefServiceConfig()
Gets the refServiceConfig associated with the reference bean name

Returns:
Returns the refServiceConfig.

setRefServiceConfig

public void setRefServiceConfig(ServiceConfig serviceConfig)
Sets the refServiceConfig associated with the reference bean name


getRefContext

public java.lang.String getRefContext()
Gets the referenced service context.

Returns:
Returns the refContext.

setRefContext

public void setRefContext(java.lang.String refContext)
Sets the referenced service context.

Parameters:
refContext - the new value for refContext

setValueFromListConfig

public void setValueFromListConfig(ListConfig listConfig)
Sets the value of the property from a list configuration

Parameters:
listConfig -

setValueFromMapConfig

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

Parameters:
mapConfig -

toString

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



Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.