ontopoly.conversion
Class ConversionUtils
java.lang.Object
ontopoly.conversion.ConversionUtils
public class ConversionUtils
- extends java.lang.Object
Method Summary |
static java.lang.String |
convertExisting(TopicMap topicMap,
java.lang.String tmname)
|
static java.lang.String |
convertNew(TopicMap oldTopicMap,
java.lang.String tmname,
TopicMapSource tmsource)
|
protected static int |
getBroadestExternalOccurrenceTypeMaxCardinality(TopicIF ttype,
TopicIF oetype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
|
protected static int |
getBroadestExternalOccurrenceTypeMinCardinality(TopicIF ttype,
TopicIF oetype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
|
protected static int |
getBroadestInternalOccurrenceTypeMaxCardinality(TopicIF ttype,
TopicIF oitype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
|
protected static int |
getBroadestInternalOccurrenceTypeMinCardinality(TopicIF ttype,
TopicIF oitype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
|
protected static int |
getBroadestNameTypeMaxCardinality(TopicIF ttype,
TopicIF ntype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
|
protected static int |
getBroadestNameTypeMinCardinality(TopicIF ttype,
TopicIF ntype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
|
protected static int |
getBroadestPlayerTypeMaxCardinality(TopicIF atype,
TopicIF rtype,
TopicIF ptype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
|
protected static int |
getBroadestPlayerTypeMinCardinality(TopicIF atype,
TopicIF rtype,
TopicIF ptype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
|
protected static int |
getBroadestSubjectIndicatorMaxCardinality(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
|
protected static int |
getBroadestSubjectIndicatorMinCardinality(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
|
protected static int |
getBroadestSubjectLocatorMaxCardinality(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
|
protected static int |
getBroadestSubjectLocatorMinCardinality(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
|
protected static TopicIF |
getCardinalityTopic(int mincard,
int maxcard,
TopicMapIF tm)
|
protected TopicIF |
getCardinalityTopic(int cardinalityCount,
TopicMapIF tm)
|
protected static java.util.Collection<TopicIF> |
getExternalOccurrencesDeclaredOnSuperType(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> subsup)
|
protected static java.util.Collection<TopicIF> |
getInternalOccurrencesDeclaredOnSuperType(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> subsup)
|
protected static java.util.Collection<TopicIF> |
getNamesDeclaredOnSuperType(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> subsup)
|
static OccurrenceIF |
getOccurrenceOfType(TopicIF topic,
TopicIF occType)
|
static java.util.Collection<OccurrenceIF> |
getOccurrencesOfType(TopicIF topic,
TopicIF occType)
|
static TopicMapSourceIF |
getSource(TopicMapRepositoryIF rep,
java.lang.String tmsource)
|
protected static java.util.Collection<TopicIF> |
getTopMostTypes(java.util.Collection<TopicIF> ttypes,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> subsup)
|
protected static boolean |
isRoleDeclaredOnSuperType(TopicIF ttype,
java.util.Collection<TopicIF> ptypes,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> subsup)
|
protected static boolean |
isSubjectIndicatorDeclaredOnSuperType(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> subsup)
|
protected static boolean |
isSubjectLocatorDeclaredOnSuperType(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> subsup)
|
static java.lang.String |
upgradeExisting(TopicMap topicMap)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConversionUtils
public ConversionUtils()
upgradeExisting
public static java.lang.String upgradeExisting(TopicMap topicMap)
convertExisting
public static java.lang.String convertExisting(TopicMap topicMap,
java.lang.String tmname)
convertNew
public static java.lang.String convertNew(TopicMap oldTopicMap,
java.lang.String tmname,
TopicMapSource tmsource)
getCardinalityTopic
protected static TopicIF getCardinalityTopic(int mincard,
int maxcard,
TopicMapIF tm)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
getCardinalityTopic
protected TopicIF getCardinalityTopic(int cardinalityCount,
TopicMapIF tm)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
isSubjectLocatorDeclaredOnSuperType
protected static boolean isSubjectLocatorDeclaredOnSuperType(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> subsup)
isSubjectIndicatorDeclaredOnSuperType
protected static boolean isSubjectIndicatorDeclaredOnSuperType(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> subsup)
getNamesDeclaredOnSuperType
protected static java.util.Collection<TopicIF> getNamesDeclaredOnSuperType(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> subsup)
getInternalOccurrencesDeclaredOnSuperType
protected static java.util.Collection<TopicIF> getInternalOccurrencesDeclaredOnSuperType(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> subsup)
getExternalOccurrencesDeclaredOnSuperType
protected static java.util.Collection<TopicIF> getExternalOccurrencesDeclaredOnSuperType(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> subsup)
isRoleDeclaredOnSuperType
protected static boolean isRoleDeclaredOnSuperType(TopicIF ttype,
java.util.Collection<TopicIF> ptypes,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> subsup)
getBroadestSubjectLocatorMinCardinality
protected static int getBroadestSubjectLocatorMinCardinality(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
getBroadestSubjectLocatorMaxCardinality
protected static int getBroadestSubjectLocatorMaxCardinality(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
getBroadestSubjectIndicatorMinCardinality
protected static int getBroadestSubjectIndicatorMinCardinality(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
getBroadestSubjectIndicatorMaxCardinality
protected static int getBroadestSubjectIndicatorMaxCardinality(TopicIF ttype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
getBroadestNameTypeMinCardinality
protected static int getBroadestNameTypeMinCardinality(TopicIF ttype,
TopicIF ntype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
getBroadestNameTypeMaxCardinality
protected static int getBroadestNameTypeMaxCardinality(TopicIF ttype,
TopicIF ntype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
getBroadestExternalOccurrenceTypeMinCardinality
protected static int getBroadestExternalOccurrenceTypeMinCardinality(TopicIF ttype,
TopicIF oetype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
getBroadestExternalOccurrenceTypeMaxCardinality
protected static int getBroadestExternalOccurrenceTypeMaxCardinality(TopicIF ttype,
TopicIF oetype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
getBroadestInternalOccurrenceTypeMinCardinality
protected static int getBroadestInternalOccurrenceTypeMinCardinality(TopicIF ttype,
TopicIF oitype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
getBroadestInternalOccurrenceTypeMaxCardinality
protected static int getBroadestInternalOccurrenceTypeMaxCardinality(TopicIF ttype,
TopicIF oitype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
getBroadestPlayerTypeMinCardinality
protected static int getBroadestPlayerTypeMinCardinality(TopicIF atype,
TopicIF rtype,
TopicIF ptype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
getBroadestPlayerTypeMaxCardinality
protected static int getBroadestPlayerTypeMaxCardinality(TopicIF atype,
TopicIF rtype,
TopicIF ptype,
SchemaTracker tracker,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> supsub)
getTopMostTypes
protected static java.util.Collection<TopicIF> getTopMostTypes(java.util.Collection<TopicIF> ttypes,
java.util.Map<TopicIF,java.util.Collection<TopicIF>> subsup)
getSource
public static TopicMapSourceIF getSource(TopicMapRepositoryIF rep,
java.lang.String tmsource)
getOccurrenceOfType
public static OccurrenceIF getOccurrenceOfType(TopicIF topic,
TopicIF occType)
getOccurrencesOfType
public static java.util.Collection<OccurrenceIF> getOccurrencesOfType(TopicIF topic,
TopicIF occType)
Copyright © 2000-2012 Ontopia.