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

public class IndexStorageStrategy
extends Object
implements StorageStrategy


Field Summary
protected  StorageStrategyService m_storageStrategyService
           
 
Constructor Summary
IndexStorageStrategy()
           
 
Method Summary
 String getRelativePathForAttribute(String resourceParent, String resource, String attribute)
           
 String getResourceNameFromIndex(String resourceParent, String resourceIndex)
           
 String getResourceTypeName()
           
 void setResourceTypeName(String name)
           
 void setStorageStrategyService(StorageStrategyService agent)
           
 
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)
Specified by:
getRelativePathForAttribute in interface StorageStrategy

setResourceTypeName

public void setResourceTypeName(String name)
Specified by:
setResourceTypeName in interface StorageStrategy

getResourceTypeName

public String getResourceTypeName()

getResourceNameFromIndex

public String getResourceNameFromIndex(String resourceParent,
                                       String resourceIndex)
Specified by:
getResourceNameFromIndex in interface StorageStrategy

setStorageStrategyService

public void setStorageStrategyService(StorageStrategyService agent)
Specified by:
setStorageStrategyService in interface StorageStrategy


Copyright © 2009. All Rights Reserved.