net.anotheria.anosite.gen.anoaccessconfiguration.data.ConstraintFactory Maven / Gradle / Ivy
/**
********************************************************************************
*** ConstraintFactory.java ***
*** generated by AnoSiteGenerator (ASG), Version: 3.2.2 ***
*** Copyright (C) 2005 - 2023 Anotheria.net, www.anotheria.net ***
*** All Rights Reserved. ***
********************************************************************************
*** Don't edit this code, if you aren't sure ***
*** that you do exactly know what you are doing! ***
*** It's better to invest time in the generator, as into the generated code. ***
********************************************************************************
*/
package net.anotheria.anosite.gen.anoaccessconfiguration.data;
public class ConstraintFactory{
public static Constraint createConstraint(Constraint template){
return new ConstraintDocument((ConstraintDocument)template);
}
public static Constraint createConstraint(){
return new ConstraintDocument("");
}
static Constraint createConstraint(ConstraintBuilder builder){
return new ConstraintDocument(builder);
}
public static Constraint createConstraintForImport(String anId){
return new ConstraintDocument(anId);
}
/**
* For internal use only!
*/
public static Constraint createConstraint(String anId){
return new ConstraintDocument(anId);
}
}