class ZMSUtils {

    public static String removeDomainPrefix(String objectName, String domainName, String objectPrefix) {
        String valPrefix = domainName + ":" + objectPrefix;
        if (objectName.startsWith(valPrefix)) {
            objectName = objectName.substring(valPrefix.length());
        }
        return objectName;
    }

}