net.anotheria.anosite.gen.asuserdata.data.UserDefBuilder Maven / Gradle / Ivy
/**
********************************************************************************
*** UserDefBuilder.java ***
*** generated by AnoSiteGenerator (ASG), Version: 1.3.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;
import net.anotheria.asg.data.Builder;
import java.util.List;
public class UserDefBuilder implements Builder{
protected String login;
protected List status;
protected String password;
/**
* Sets the value of the login attribute.
*/
public UserDefBuilder login(String aValue){
login = aValue;
return this;
}
/**
* Sets the value of the status attribute.
*/
public UserDefBuilder status(List aValue){
status = aValue;
return this;
}
/**
* Sets the value of the password attribute.
*/
public UserDefBuilder password(String aValue){
password = aValue;
return this;
}
public UserDef build(){
return UserDefFactory.createUserDef(this);
}
}