com.ibm.workplace.wcm.api
Interface ReferenceComponent

All Superinterfaces:
ContentComponent

public interface ReferenceComponent
extends ContentComponent

Represents a component that can contain a reference to one LibraryComponent. ReferenceComponent objects support all component types that can be stored in the Component Library.

A ReferenceComponent is a ContentComponent and cannot be stored as a separate entity in the repository.

This interface provides methods to set and retrieve the LibraryComponent that this ReferenceComponent refers to.

See Also:
ContentComponent, LibraryComponent

Field Summary
static java.lang.String COPYRIGHT
          Copyright statement
 
Method Summary
 LibraryComponent getComponentRef()
          Returns the Library Component that this component refers to.
 void setComponentRef(LibraryComponent componentRef)
          Sets the Library Component that this component refers to.
 
Methods inherited from interface com.ibm.workplace.wcm.api.ContentComponent
getContainer, getName
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright statement

See Also:
Constant Field Values
Method Detail

getComponentRef

public LibraryComponent getComponentRef()
Returns the Library Component that this component refers to.

Returns:
the Library Component that this ReferenceComponent refers to

setComponentRef

public void setComponentRef(LibraryComponent componentRef)
Sets the Library Component that this component refers to.

Parameters:
componentRef - the new Library Component