org.tm4j.topicmap.utils.OccurrenceUtils .getSignature(org.tm4j.topicmap.Occurrence occ)

Description

Returns the "signature" string of the occurrence. This string consists of either the string value of the occurrence data or the string value of the occurrence locator compose with the signature of the type of the occurrence and the signature of the scope of the occurrence. Two Occurrence objects of the same type with the same resource locator or resource data in the same scope return the same signature string.

Parameters
org.tm4j.topicmap.Occurrence occ The occurrence to compute the signature string for

Returns

The computed signature string.

Other Resources