
org.syncope.client.to.SchemaTO Maven / Gradle / Ivy
/*
* Licensed 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.
* under the License.
*/
package org.syncope.client.to;
import org.syncope.client.AbstractBaseBean;
import org.syncope.types.SchemaType;
public class SchemaTO extends AbstractBaseBean {
private String name;
private SchemaType type;
private boolean virtual;
private String mandatoryCondition;
private boolean multivalue;
private boolean uniqueConstraint;
private boolean readonly;
private String conversionPattern;
private String validatorClass;
public SchemaTO() {
mandatoryCondition = "false";
}
public String getConversionPattern() {
return conversionPattern;
}
public void setConversionPattern(String conversionPattern) {
this.conversionPattern = conversionPattern;
}
public boolean isVirtual() {
return virtual;
}
public void setVirtual(boolean virtual) {
this.virtual = virtual;
}
public String getMandatoryCondition() {
return mandatoryCondition;
}
public void setMandatoryCondition(String mandatoryCondition) {
this.mandatoryCondition = mandatoryCondition;
}
public boolean isMultivalue() {
return multivalue;
}
public void setMultivalue(boolean multivalue) {
this.multivalue = multivalue;
}
public boolean isUniqueConstraint() {
return uniqueConstraint;
}
public void setUniqueConstraint(boolean uniqueConstraint) {
this.uniqueConstraint = uniqueConstraint;
}
public boolean isReadonly() {
return readonly;
}
public void setReadonly(boolean readonly) {
this.readonly = readonly;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public SchemaType getType() {
return type;
}
public void setType(SchemaType type) {
this.type = type;
}
public String getValidatorClass() {
return validatorClass;
}
public void setValidatorClass(String validatorClass) {
this.validatorClass = validatorClass;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy