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