net.anotheria.anosite.gen.asblogdata.data.CommentFactory Maven / Gradle / Ivy
/**
********************************************************************************
*** CommentFactory.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.asblogdata.data;
public class CommentFactory{
public static Comment createComment(Comment template){
return new CommentDocument((CommentDocument)template);
}
public static Comment createComment(){
return new CommentDocument("");
}
static Comment createComment(CommentBuilder builder){
return new CommentDocument(builder);
}
public static Comment createCommentForImport(String anId){
return new CommentDocument(anId);
}
/**
* For internal use only!
*/
public static Comment createComment(String anId){
return new CommentDocument(anId);
}
}