org.tm4j.panckoucke.impl.abstraction.AssociationRoleShelfmark .getShelfMark(org.tm4j.topicmap.Association association)

Description

This method builds a shelfmark for the given association. It considers all rolespecs from all members. The returned shelfmark consists of two parts 1. the name of all topics that are used as the role-spec of the members of the giving association. The topics are sorted by name and separated by a minus ('-'). if the isSuppressDuplicateRoles() returns true, every role defining topic is added only once to the shelfmark. 2. for each member that does not define a rolespec, the String 'null' is added to the end of the shelfmark.

Parameters
org.tm4j.topicmap.Association association

Returns

a String that can be used to group this association along with others

Other Resources

Related Topics

Has Parameters