net.anotheria.anosite.gen.asuserdata.data.UserDefFactory Maven / Gradle / Ivy
/**
********************************************************************************
*** UserDefFactory.java ***
*** generated by AnoSiteGenerator (ASG), Version: 2.6.3 ***
*** Copyright (C) 2005 - 2010 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.asuserdata.data;
public class UserDefFactory{
public static UserDef createUserDef(UserDef template){
return new UserDefDocument((UserDefDocument)template);
}
public static UserDef createUserDef(){
return new UserDefDocument("");
}
static UserDef createUserDef(UserDefBuilder builder){
return new UserDefDocument(builder);
}
public static UserDef createUserDefForImport(String anId){
return new UserDefDocument(anId);
}
/**
* For internal use only!
*/
public static UserDef createUserDef(String anId){
return new UserDefDocument(anId);
}
}