org.javagen.agile.oo.naming
Class Collections
java.lang.Object
org.javagen.agile.oo.naming.Collections
public final class Collections
- extends Object
Holds a set of collection interfaces and implementation class names indexed
by abstract key names.
The default abstract key names are: SET, SORTED_SET, BAG, LIST, MAP, SORTED_MAP.
- Author:
- Richard Easterling
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Collections
public Collections()
getInstance
public static Collections getInstance()
getInterface
public String getInterface(String collectionKey)
getImplementation
public String getImplementation(String collectionKey)
validateKey
public boolean validateKey(String key,
boolean throwException)
getCollectionKey
public String getCollectionKey(String _interface)
setCollectionImplementations
public void setCollectionImplementations(Map<String,String> collectionImplementations)
setCollectionInterfaces
public void setCollectionInterfaces(Map<String,String> collectionInterfaces)
getDefaultCollectionKey
public String getDefaultCollectionKey()
setDefaultCollectionKey
public void setDefaultCollectionKey(String defaultCollectionKey)
Copyright 2006-2006-2007 Outsource Cafe Inc.. All Rights Reserved.