org.yawlfoundation.yawl.schema
Class YDataSchemaCache

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.concurrent.ConcurrentHashMap<String,org.yawlfoundation.yawl.schema.YDataSchemaCache.SchemaMap>
          extended by org.yawlfoundation.yawl.schema.YDataSchemaCache
All Implemented Interfaces:
Serializable, ConcurrentMap<String,org.yawlfoundation.yawl.schema.YDataSchemaCache.SchemaMap>, Map<String,org.yawlfoundation.yawl.schema.YDataSchemaCache.SchemaMap>
Direct Known Subclasses:
DataSchemaCache

public class YDataSchemaCache
extends ConcurrentHashMap<String,org.yawlfoundation.yawl.schema.YDataSchemaCache.SchemaMap>

Author: Michael Adams Creation Date: 15/04/2009

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
YDataSchemaCache()
           
 
Method Summary
 void add(YSpecificationID specID)
           
protected  org.yawlfoundation.yawl.schema.YDataSchemaCache.SchemaMap assembleMap(String schema)
           
 boolean contains(YSpecificationID specID)
           
protected  String getKey(YSpecificationID specID)
           
 Map<String,org.jdom.Element> getSchemaMap(YSpecificationID specID)
           
 org.jdom.Element getSchemaType(YSpecificationID specID, String typeName)
           
 String getSchemaTypeAsString(YSpecificationID specID, String typeName)
           
 org.yawlfoundation.yawl.schema.YDataSchemaCache.SchemaMap remove(YSpecificationID specID)
           
 
Methods inherited from class java.util.concurrent.ConcurrentHashMap
clear, contains, containsKey, containsValue, elements, entrySet, get, isEmpty, keys, keySet, put, putAll, putIfAbsent, remove, remove, replace, replace, size, values
 
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

YDataSchemaCache

public YDataSchemaCache()
Method Detail

add

public void add(YSpecificationID specID)

contains

public boolean contains(YSpecificationID specID)

remove

public org.yawlfoundation.yawl.schema.YDataSchemaCache.SchemaMap remove(YSpecificationID specID)

getSchemaType

public org.jdom.Element getSchemaType(YSpecificationID specID,
                                      String typeName)

getSchemaMap

public Map<String,org.jdom.Element> getSchemaMap(YSpecificationID specID)

getSchemaTypeAsString

public String getSchemaTypeAsString(YSpecificationID specID,
                                    String typeName)

assembleMap

protected org.yawlfoundation.yawl.schema.YDataSchemaCache.SchemaMap assembleMap(String schema)

getKey

protected String getKey(YSpecificationID specID)


Copyright © 2004-2012 The YAWL Foundation.