net.anotheria.anosite.gen.anoaccessconfiguration.data.AccessOperationFactory Maven / Gradle / Ivy
/**
********************************************************************************
*** AccessOperationFactory.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 AccessOperationFactory{
public static AccessOperation createAccessOperation(AccessOperation template){
return new AccessOperationDocument((AccessOperationDocument)template);
}
public static AccessOperation createAccessOperation(){
return new AccessOperationDocument("");
}
static AccessOperation createAccessOperation(AccessOperationBuilder builder){
return new AccessOperationDocument(builder);
}
public static AccessOperation createAccessOperationForImport(String anId){
return new AccessOperationDocument(anId);
}
/**
* For internal use only!
*/
public static AccessOperation createAccessOperation(String anId){
return new AccessOperationDocument(anId);
}
}