org.jacorb.notification.filter

Class FilterUtils


public class FilterUtils
extends java.lang.Object

Version:
$Id: FilterUtils.java,v 1.4 2004/05/06 12:39:59 nicolas Exp $

Author:
Alphonse Bendt

Method Summary

static String
calcConstraintKey(String domain_name, String type_name)
Provide a Uniform Mapping from domain_name and type_name to a Key that can be used to put EventTypes into a Map.

Method Details

calcConstraintKey

public static String calcConstraintKey(String domain_name,
                                       String type_name)
Provide a Uniform Mapping from domain_name and type_name to a Key that can be used to put EventTypes into a Map. if (d1 == d2) AND (t1 == t2) => calcConstraintKey(d1, t1) == calcConstraintKey(d2, t2).

Parameters:
domain_name - a String value
type_name - a String value

Returns:
an Unique Constraint Key.