|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xenonsoft.bridgetown.soa.config.PropertyConfig
Property descriptor configuration for the individual service configuration. A property generally consists of name and value. For the purpose of inverse of control and framework wiring a property describes a name and reference to another bean service.
| Field Summary | |
protected java.lang.String |
name
|
protected ValueReferenceConfig |
valueRef
the value configuration |
| Constructor Summary | |
PropertyConfig()
Default constructor |
|
| Method Summary | |
void |
addValueReference(ValueReferenceConfig ref)
Adds a reference to the property configuration. |
java.lang.String |
getName()
Gets the name |
java.lang.String |
getReference()
Convenience method to retrieve the reference segment of the value-reference configuration |
java.lang.Object |
getValue()
Convenience method to retrieve the value segment of the value-reference configuration |
ValueReferenceConfig |
getValueRef()
Gets the valueRef configuration |
void |
setName(java.lang.String name)
Sets the name |
void |
setReference(java.lang.String value)
Convenience method to set the reference segment of the value-reference configuration |
void |
setValue(java.lang.Object value)
Convenience method to set the value segment of the value-reference configuration |
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 ref)
Sets the valueRef 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 |
protected java.lang.String name
protected ValueReferenceConfig valueRef
| Constructor Detail |
public PropertyConfig()
| Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name - The name to set.public java.lang.Object getValue()
public void setValue(java.lang.Object value)
value - the new value objectpublic java.lang.String getReference()
public void setReference(java.lang.String value)
value - the new value objectpublic ValueReferenceConfig getValueRef()
getValueRef in interface IValueReferenceMutatorpublic void setValueRef(ValueReferenceConfig ref)
setValueRef in interface IValueReferenceMutatorpublic void addValueReference(ValueReferenceConfig ref)
setRef, because a property can also be
wired by reference to another JavaBean.
addValueReference in interface IValueReferenceMutatorpublic void setValueFromCollectionConfig(ICollectionConfig collectionConfig)
setValueFromCollectionConfig in interface IAnonymousCollectionMutatorcollectionConfig - the collection configurationpublic void setValueFromMapConfig(MapConfig mapConfig)
setValueFromMapConfig in interface IAnonymousMapMutatormapConfig - public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||