net.ontopia.topicmaps.db2tm
Class Utils

java.lang.Object
  extended by net.ontopia.topicmaps.db2tm.Utils

public class Utils
extends java.lang.Object

INTERNAL: Helper class used by DB2TM internals.


Method Summary
static RelationMapping getRelationMapping(javax.servlet.jsp.PageContext ctxt)
          INTERNAL: Helper method for maintaining a relation mapping instance throughout a page context.
static java.util.Map verifyRelationsForMapping(RelationMapping rmapping)
          INTERNAL: Returns a map where the keys are data sources and each entry is a collection of their individual relations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRelationMapping

public static RelationMapping getRelationMapping(javax.servlet.jsp.PageContext ctxt)
INTERNAL: Helper method for maintaining a relation mapping instance throughout a page context.


verifyRelationsForMapping

public static java.util.Map verifyRelationsForMapping(RelationMapping rmapping)
INTERNAL: Returns a map where the keys are data sources and each entry is a collection of their individual relations. Before returning all relations will be verified against the relations declared in the mapping. If relations are missing an error is issued indicating which ones are missing.



Copyright © 2000-2012 Ontopia.