org.umlg.javageneration.validation.Email Maven / Gradle / Ivy
package org.umlg.javageneration.validation;
import org.umlg.java.metamodel.OJPathName;
public class Email implements Validation {
public Email() {
super();
}
@Override
public String toStringForMethod() {
return "";
}
@Override
public String toNewRuntimeTumlValidation() {
return "new Email()";
}
@Override
public OJPathName getPathName() {
return new OJPathName("org.umlg.runtime.validation.Email");
}
@Override
public String toJson() {
return "\\\"email\\\": {}";
}
}