net.anotheria.anosite.gen.asuserdata.data.UserDef Maven / Gradle / Ivy
/**
********************************************************************************
*** UserDef.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;
import net.anotheria.asg.data.DataObject;
import java.util.List;
import net.anotheria.util.sorter.IComparable;
public interface UserDef extends DataObject, IComparable {
/**
* Constant property name for "id" for internal storage and queries.
*/
public static final String PROP_ID = "id";
/**
* Constant property name for "login" for internal storage and queries.
*/
public static final String PROP_LOGIN = "login";
/**
* Constant property name for "status" for internal storage and queries.
*/
public static final String PROP_STATUS = "status";
/**
* Constant property name for "password" for internal storage and queries.
*/
public static final String PROP_PASSWORD = "password";
/**
* Returns the value of the login attribute.
*/
public String getLogin();
/**
* Sets the value of the login attribute.
*/
public void setLogin(String value);
/**
* Returns the value of the status attribute.
*/
public List getStatus();
/**
* Sets the value of the status attribute.
*/
public void setStatus(List value);
/**
* Returns the value of the password attribute.
*/
public String getPassword();
/**
* Sets the value of the password attribute.
*/
public void setPassword(String value);
/**
* Returns the number of elements in the "status" container
*/
public int getStatusSize();
/**
* Adds a new element to the list.
*/
public void addStatusElement(String statusLink);
/**
* Removes the element at position index from the list.
*/
public void removeStatusElement(int index);
/**
* Swaps elements at positions index1 and index2 in the list.
*/
public void swapStatusElement(int index1, int index2);
/**
* Returns the element at the position index in the list.
*/
public String getStatusElement(int index);
}