org.apache.aries.blueprint.reflect
Class IdRefMetadataImpl

java.lang.Object
  extended by org.apache.aries.blueprint.reflect.IdRefMetadataImpl
All Implemented Interfaces:
MutableIdRefMetadata, IdRefMetadata, Metadata, NonNullMetadata

public class IdRefMetadataImpl
extends java.lang.Object
implements MutableIdRefMetadata

Implementation of IdRefMetadata

Version:
$Rev: 896324 $, $Date: 2010-01-06 06:05:04 +0000 (Wed, 06 Jan 2010) $

Field Summary
protected  java.lang.String componentId
           
 
Constructor Summary
IdRefMetadataImpl()
           
IdRefMetadataImpl(IdRefMetadata source)
           
IdRefMetadataImpl(java.lang.String componentId)
           
 
Method Summary
 java.lang.String getComponentId()
          Return the id of the referenced component.
 void setComponentId(java.lang.String componentId)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

componentId

protected java.lang.String componentId
Constructor Detail

IdRefMetadataImpl

public IdRefMetadataImpl()

IdRefMetadataImpl

public IdRefMetadataImpl(java.lang.String componentId)

IdRefMetadataImpl

public IdRefMetadataImpl(IdRefMetadata source)
Method Detail

getComponentId

public java.lang.String getComponentId()
Description copied from interface: IdRefMetadata
Return the id of the referenced component. This is specified by the component-id attribute of a component.

Specified by:
getComponentId in interface IdRefMetadata
Returns:
The id of the referenced component.

setComponentId

public void setComponentId(java.lang.String componentId)
Specified by:
setComponentId in interface MutableIdRefMetadata

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.