redora.configuration.rdo.gwt.constants.MessageAllocator Maven / Gradle / Ivy
/*
* DO NOT CHANGE THIS FILE. Changes will be overwritten.
* -----------------------------------------------------
* This file is generated by Redora (www.redora.net) a source code generator.
* Copyright to this file belongs to You: the person or organization who has
* used Redora to generate this file.
* Redora is released under the open source Apache License, but this generated code
* can be released under any license or stay unreleased, as wished by the copyright
* owner.
*
* Unless required by applicable law or agreed to in writing, this software
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
* , either express or implied.
*/
package redora.configuration.rdo.gwt.constants;
import redora.client.validation.DefaultMessageAllocator;
import com.google.gwt.core.client.GWT;
import com.google.gwt.json.client.JSONArray;
/**
* @author Redora (www.redora.net)
*/
public class MessageAllocator extends DefaultMessageAllocator {
static Messages messages = GWT.create(Messages.class);
@Override
public String rule(String objectName, int ruleId, JSONArray arguments) {
if (ruleId < 0) {
return defaultRule(ruleId, arguments);
}
return null;
}
@Override
public String message(String objectName, int messageId, JSONArray arguments) {
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy