ontopoly.utils
Class OntopolyModelUtils
java.lang.Object
ontopoly.utils.OntopolyModelUtils
public class OntopolyModelUtils
- extends java.lang.Object
Method Summary |
static java.util.List<AssociationIF> |
findAssociations(TopicIF aType,
TopicIF[] rTypes,
TopicIF[] players,
java.util.Collection<TopicIF> scope)
|
static AssociationIF |
findBinaryAssociation(TopicMap tm,
TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF player2,
TopicIF rType2)
|
static java.util.Collection<AssociationIF> |
findBinaryAssociations(TopicMap tm,
TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF rType2)
|
static TopicIF |
findBinaryPlayer(TopicMap tm,
LocatorIF atypeId,
TopicIF player1,
LocatorIF rtype1Id,
LocatorIF rtype2Id)
|
static java.util.Collection<TopicIF> |
findBinaryPlayers(TopicMap tm,
TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF rType2)
|
static java.util.Collection<TopicIF> |
findBinaryPlayers(TopicMap tm,
TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF rType2,
TopicIF theme)
|
static OccurrenceIF |
findOccurrence(TopicIF oType,
TopicIF topicIF)
|
static OccurrenceIF |
findOccurrence(TopicIF oType,
TopicIF topicIF,
LocatorIF datatype,
java.util.Collection<TopicIF> scope)
|
static java.util.List<OccurrenceIF> |
findOccurrences(TopicIF oType,
TopicIF topicIF)
|
static java.util.List<OccurrenceIF> |
findOccurrences(TopicIF oType,
TopicIF topicIF,
java.util.Collection<TopicIF> scope)
|
static java.util.List<OccurrenceIF> |
findOccurrences(TopicIF oType,
TopicIF topicIF,
LocatorIF datatype)
|
static java.util.List<OccurrenceIF> |
findOccurrences(TopicIF oType,
TopicIF topicIF,
LocatorIF datatype,
java.util.Collection<TopicIF> scope)
|
static java.util.List<OccurrenceIF> |
findOccurrences(TopicIF oType,
TopicIF topicIF,
java.lang.String value,
java.util.Collection<TopicIF> scope)
|
static java.util.List<OccurrenceIF> |
findOccurrences(TopicIF oType,
TopicIF topicIF,
java.lang.String value,
LocatorIF datatype,
java.util.Collection<TopicIF> scope)
|
static java.util.List<AssociationRoleIF> |
findRoles(TopicIF aType,
TopicIF rType,
TopicIF player)
|
static java.util.List<AssociationRoleIF> |
findRoles(TopicIF aType,
TopicIF rType,
TopicIF player,
java.util.Collection<TopicIF> scope)
|
static AssociationIF |
findTernaryAssociation(TopicMap tm,
TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF player2,
TopicIF rType2,
TopicIF player3,
TopicIF rType3)
|
static java.util.Collection<TopicIF> |
findTernaryPlayers(TopicMap tm,
TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF player2,
TopicIF rType2,
TopicIF rType3)
|
static java.util.List<TopicNameIF> |
findTopicNames(TopicIF nType,
TopicIF topicIF)
|
static java.util.List<TopicNameIF> |
findTopicNames(TopicIF nType,
TopicIF topicIF,
java.util.Collection<TopicIF> scope)
|
static java.util.List<TopicNameIF> |
findTopicNames(TopicIF nType,
TopicIF topicIF,
java.lang.String value)
|
static java.util.List<TopicNameIF> |
findTopicNames(TopicIF nType,
TopicIF topicIF,
java.lang.String value,
java.util.Collection<TopicIF> scope)
|
static AssociationIF |
findUnaryAssociation(TopicMap tm,
TopicIF aType,
TopicIF player,
TopicIF rType)
|
static RowMapperIF<java.lang.Object> |
getRowMapperOneColumn()
|
static TopicIF |
getTopicIF(TopicMap tm,
LocatorIF subjectIdentifier)
|
static TopicIF |
getTopicIF(TopicMap tm,
LocatorIF subjectIdentifier,
boolean mustExist)
|
static TopicIF |
getTopicIF(TopicMap tm,
LocatorIF base,
java.lang.String subjectIndicator)
|
static boolean |
hasBinaryAssociation(TopicIF player1,
TopicIF aType,
TopicIF rType1,
TopicIF rType2)
|
static boolean |
isUnaryPlayer(TopicMap tm,
TopicIF aType,
TopicIF player,
TopicIF rType)
|
static AssociationIF |
makeAssociation(TopicIF aType,
TopicIF[] rTypes,
TopicIF[] players,
java.util.Collection<TopicIF> scope)
|
static void |
makeBinaryAssociation(TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF player2,
TopicIF rType2)
|
static OccurrenceIF |
makeOccurrence(TopicIF otype,
TopicIF topicIF,
java.lang.String value,
LocatorIF datatype,
java.util.Collection<TopicIF> scope)
|
static void |
makeQuadaryAssociation(TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF player2,
TopicIF rType2,
TopicIF player3,
TopicIF rType3,
TopicIF player4,
TopicIF rType4)
|
static void |
makeTernaryAssociation(TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF player2,
TopicIF rType2,
TopicIF player3,
TopicIF rType3)
|
static TopicNameIF |
makeTopicName(TopicIF ntype,
TopicIF topicIF,
java.lang.String value,
java.util.Collection<TopicIF> scope)
|
static void |
makeUnaryAssociation(TopicIF aType,
TopicIF player,
TopicIF rType)
|
static void |
setName(TopicIF nType,
TopicIF topic,
java.lang.String value,
java.util.Collection<TopicIF> scope)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getRowMapperOneColumn
public static RowMapperIF<java.lang.Object> getRowMapperOneColumn()
getTopicIF
public static TopicIF getTopicIF(TopicMap tm,
LocatorIF base,
java.lang.String subjectIndicator)
getTopicIF
public static TopicIF getTopicIF(TopicMap tm,
LocatorIF subjectIdentifier)
getTopicIF
public static TopicIF getTopicIF(TopicMap tm,
LocatorIF subjectIdentifier,
boolean mustExist)
isUnaryPlayer
public static boolean isUnaryPlayer(TopicMap tm,
TopicIF aType,
TopicIF player,
TopicIF rType)
findUnaryAssociation
public static AssociationIF findUnaryAssociation(TopicMap tm,
TopicIF aType,
TopicIF player,
TopicIF rType)
hasBinaryAssociation
public static boolean hasBinaryAssociation(TopicIF player1,
TopicIF aType,
TopicIF rType1,
TopicIF rType2)
findBinaryPlayer
public static TopicIF findBinaryPlayer(TopicMap tm,
LocatorIF atypeId,
TopicIF player1,
LocatorIF rtype1Id,
LocatorIF rtype2Id)
findBinaryPlayers
public static java.util.Collection<TopicIF> findBinaryPlayers(TopicMap tm,
TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF rType2)
findBinaryPlayers
public static java.util.Collection<TopicIF> findBinaryPlayers(TopicMap tm,
TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF rType2,
TopicIF theme)
findBinaryAssociation
public static AssociationIF findBinaryAssociation(TopicMap tm,
TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF player2,
TopicIF rType2)
findBinaryAssociations
public static java.util.Collection<AssociationIF> findBinaryAssociations(TopicMap tm,
TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF rType2)
findTernaryPlayers
public static java.util.Collection<TopicIF> findTernaryPlayers(TopicMap tm,
TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF player2,
TopicIF rType2,
TopicIF rType3)
findTernaryAssociation
public static AssociationIF findTernaryAssociation(TopicMap tm,
TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF player2,
TopicIF rType2,
TopicIF player3,
TopicIF rType3)
findAssociations
public static java.util.List<AssociationIF> findAssociations(TopicIF aType,
TopicIF[] rTypes,
TopicIF[] players,
java.util.Collection<TopicIF> scope)
makeUnaryAssociation
public static void makeUnaryAssociation(TopicIF aType,
TopicIF player,
TopicIF rType)
makeBinaryAssociation
public static void makeBinaryAssociation(TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF player2,
TopicIF rType2)
makeTernaryAssociation
public static void makeTernaryAssociation(TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF player2,
TopicIF rType2,
TopicIF player3,
TopicIF rType3)
makeQuadaryAssociation
public static void makeQuadaryAssociation(TopicIF aType,
TopicIF player1,
TopicIF rType1,
TopicIF player2,
TopicIF rType2,
TopicIF player3,
TopicIF rType3,
TopicIF player4,
TopicIF rType4)
makeAssociation
public static AssociationIF makeAssociation(TopicIF aType,
TopicIF[] rTypes,
TopicIF[] players,
java.util.Collection<TopicIF> scope)
findOccurrence
public static OccurrenceIF findOccurrence(TopicIF oType,
TopicIF topicIF)
findOccurrence
public static OccurrenceIF findOccurrence(TopicIF oType,
TopicIF topicIF,
LocatorIF datatype,
java.util.Collection<TopicIF> scope)
findOccurrences
public static java.util.List<OccurrenceIF> findOccurrences(TopicIF oType,
TopicIF topicIF)
findOccurrences
public static java.util.List<OccurrenceIF> findOccurrences(TopicIF oType,
TopicIF topicIF,
LocatorIF datatype)
findOccurrences
public static java.util.List<OccurrenceIF> findOccurrences(TopicIF oType,
TopicIF topicIF,
java.util.Collection<TopicIF> scope)
findOccurrences
public static java.util.List<OccurrenceIF> findOccurrences(TopicIF oType,
TopicIF topicIF,
LocatorIF datatype,
java.util.Collection<TopicIF> scope)
findOccurrences
public static java.util.List<OccurrenceIF> findOccurrences(TopicIF oType,
TopicIF topicIF,
java.lang.String value,
java.util.Collection<TopicIF> scope)
findOccurrences
public static java.util.List<OccurrenceIF> findOccurrences(TopicIF oType,
TopicIF topicIF,
java.lang.String value,
LocatorIF datatype,
java.util.Collection<TopicIF> scope)
makeOccurrence
public static OccurrenceIF makeOccurrence(TopicIF otype,
TopicIF topicIF,
java.lang.String value,
LocatorIF datatype,
java.util.Collection<TopicIF> scope)
findTopicNames
public static java.util.List<TopicNameIF> findTopicNames(TopicIF nType,
TopicIF topicIF)
findTopicNames
public static java.util.List<TopicNameIF> findTopicNames(TopicIF nType,
TopicIF topicIF,
java.util.Collection<TopicIF> scope)
findTopicNames
public static java.util.List<TopicNameIF> findTopicNames(TopicIF nType,
TopicIF topicIF,
java.lang.String value)
findTopicNames
public static java.util.List<TopicNameIF> findTopicNames(TopicIF nType,
TopicIF topicIF,
java.lang.String value,
java.util.Collection<TopicIF> scope)
makeTopicName
public static TopicNameIF makeTopicName(TopicIF ntype,
TopicIF topicIF,
java.lang.String value,
java.util.Collection<TopicIF> scope)
findRoles
public static java.util.List<AssociationRoleIF> findRoles(TopicIF aType,
TopicIF rType,
TopicIF player)
findRoles
public static java.util.List<AssociationRoleIF> findRoles(TopicIF aType,
TopicIF rType,
TopicIF player,
java.util.Collection<TopicIF> scope)
setName
public static void setName(TopicIF nType,
TopicIF topic,
java.lang.String value,
java.util.Collection<TopicIF> scope)
Copyright © 2000-2012 Ontopia.