pl.edu.agh.cast.data.persistence
Class AbstractPersistenceProviderFactory
java.lang.Object
pl.edu.agh.cast.data.persistence.AbstractPersistenceProviderFactory
- All Implemented Interfaces:
- IPersistenceProviderFactory
- Direct Known Subclasses:
- RuntimePersistenceProviderFactory, SerializationPersistenceProviderFactory, ZLayerPersistenceProviderFactory
public abstract class AbstractPersistenceProviderFactory
- extends Object
- implements IPersistenceProviderFactory
Abstract implementation of persistence provider factory.
- Author:
- AGH CAST Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPersistenceProviderFactory
protected AbstractPersistenceProviderFactory(String providerId)
- Constructor.
- Parameters:
providerId
- the ID of the provider
getPersistenceFilePath
public String getPersistenceFilePath()
- Returns the path to the persistence provider configuration or storage file. The path is relative to the project
path.
- Specified by:
getPersistenceFilePath
in interface IPersistenceProviderFactory
- Returns:
- the path to the persistence file
- See Also:
IPersistenceProviderFactory.getPersistenceFilePath()
getProviderId
public String getProviderId()
- Returns the ID of the provider.
- Specified by:
getProviderId
in interface IPersistenceProviderFactory
- Returns:
- provider ID
- See Also:
IPersistenceProviderFactory.getProviderId()
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.