![JAR search and dependency download from the Maven repository](/logo.png)
org.apache.myfaces.custom.clientvalidation.common.CVCall Maven / Gradle / Ivy
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.myfaces.custom.clientvalidation.common;
import java.io.Serializable;
/**
* Encapsulates information needed for client side validation/conversation.
* Instances are added to CVCallsHolder object located at request scope.
*
* @author cagatay (latest modification by $Author: cagatay $)
* @version $Revision: 503727 $ $Date: 2007-02-05 16:41:02 +0100 (Mo, 05 Feb 2007) $
*/
public class CVCall implements Serializable{
private String _id;
private String _clientId;
private boolean _required;
private String _converterScriptFunction;
private String _converterScriptResource;
private String[] _validatorScriptFunctions;
private String[] _validatorScriptResources;
public CVCall() {}
public CVCall(String id, String clientId, boolean required) {
this._id = id;
this._clientId = clientId;
this._required = required;
}
public String getId() {
return _id;
}
public void setId(String id) {
this._id = id;
}
public String getClientId() {
return _clientId;
}
public void setClientId(String clientId) {
this._clientId = clientId;
}
public boolean isRequired() {
return _required;
}
public void setRequired(boolean required) {
this._required = required;
}
public String getConverterScriptFunction() {
return _converterScriptFunction;
}
public void setConverterScriptFunction(String scriptFunction) {
_converterScriptFunction = scriptFunction;
}
public String getConverterScriptResource() {
return _converterScriptResource;
}
public void setConverterScriptResource(String scriptResource) {
_converterScriptResource = scriptResource;
}
public String[] getValidatorScriptFunctions() {
return _validatorScriptFunctions;
}
public void setValidatorScriptFunctions(String[] scriptFunctions) {
_validatorScriptFunctions = scriptFunctions;
}
public String[] getValidatorScriptResources() {
return _validatorScriptResources;
}
public void setValidatorScriptResources(String[] scriptResources) {
_validatorScriptResources = scriptResources;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy