org.opennms.netmgt.dao.support
Class IndexStorageStrategy

java.lang.Object
  extended by org.opennms.netmgt.dao.support.IndexStorageStrategy
All Implemented Interfaces:
StorageStrategy
Direct Known Subclasses:
FrameRelayStorageStrategy, HostFileSystemStorageStrategy, SiblingColumnStorageStrategy

public class IndexStorageStrategy
extends Object
implements StorageStrategy

IndexStorageStrategy class.

Version:
$Id: $
Author:
ranger

Field Summary
protected  StorageStrategyService m_storageStrategyService
           
 
Constructor Summary
IndexStorageStrategy()
           
 
Method Summary
 String getRelativePathForAttribute(String resourceParent, String resource, String attribute)
          getRelativePathForAttribute
 String getResourceNameFromIndex(String resourceParent, String resourceIndex)
          getResourceNameFromIndex
 String getResourceTypeName()
          getResourceTypeName
protected  ThreadCategory log()
          log
 void setParameters(List<Parameter> parameterCollection)
          setParameters
 void setResourceTypeName(String name)
          setResourceTypeName
 void setStorageStrategyService(StorageStrategyService agent)
          setStorageStrategyService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_storageStrategyService

protected StorageStrategyService m_storageStrategyService
Constructor Detail

IndexStorageStrategy

public IndexStorageStrategy()
Method Detail

getRelativePathForAttribute

public String getRelativePathForAttribute(String resourceParent,
                                          String resource,
                                          String attribute)

getRelativePathForAttribute

Specified by:
getRelativePathForAttribute in interface StorageStrategy
Parameters:
resourceParent - a String object.
resource - a String object.
attribute - a String object.
Returns:
a String object.

setResourceTypeName

public void setResourceTypeName(String name)

setResourceTypeName

Specified by:
setResourceTypeName in interface StorageStrategy
Parameters:
name - a String object.

getResourceTypeName

public String getResourceTypeName()

getResourceTypeName

Returns:
a String object.

getResourceNameFromIndex

public String getResourceNameFromIndex(String resourceParent,
                                       String resourceIndex)

getResourceNameFromIndex

Specified by:
getResourceNameFromIndex in interface StorageStrategy
Parameters:
resourceParent - a String object.
resourceIndex - a String object.
Returns:
a String object.

setStorageStrategyService

public void setStorageStrategyService(StorageStrategyService agent)

setStorageStrategyService

Specified by:
setStorageStrategyService in interface StorageStrategy
Parameters:
agent - a StorageStrategyService object.

setParameters

public void setParameters(List<Parameter> parameterCollection)

setParameters

Specified by:
setParameters in interface StorageStrategy
Parameters:
parameterCollection - a List object.

log

protected ThreadCategory log()

log

Returns:
a ThreadCategory object.


Copyright © 2011. All Rights Reserved.