org.tm4j.topicmap.utils
Class AssociationUtils
java.lang.Object
org.tm4j.topicmap.utils.AssociationUtils
- public class AssociationUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssociationUtils
public AssociationUtils()
getSignature
public static java.lang.String getSignature(Association a)
- Returns a string signature for the association.
Associations which are equivalent (as defined by the XTM spec)
will be always have the same signature string.
getMemberSignature
public static java.lang.String getMemberSignature(Member m)
getPlayerSignature
public static java.lang.String getPlayerSignature(java.lang.String memberSig,
Topic p)
removeDuplicateRolePlayers
public static void removeDuplicateRolePlayers(Association a)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
getPlayers
public static java.util.Collection getPlayers(Association a)