Interface UserDef
- All Superinterfaces:
Cloneable,net.anotheria.asg.data.DataObject,net.anotheria.util.sorter.IComparable
- All Known Implementing Classes:
UserDefDocument
public interface UserDef
extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant property name for "id" for internal storage and queries.static final StringConstant property name for "login" for internal storage and queries.static final StringConstant property name for "password" for internal storage and queries.static final StringConstant property name for "status" for internal storage and queries. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStatusElement(String statusLink) Adds a new element to the list.getLogin()Returns the value of the login attribute.Returns the value of the password attribute.Returns the value of the status attribute.getStatusElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "status" containervoidremoveStatusElement(int index) Removes the element at position index from the list.voidSets the value of the login attribute.voidsetPassword(String value) Sets the value of the password attribute.voidSets the value of the status attribute.voidswapStatusElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list.Methods inherited from interface net.anotheria.asg.data.DataObject
clone, getDefinedName, getDefinedParentName, getFootprint, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNodeMethods inherited from interface net.anotheria.util.sorter.IComparable
compareTo
-
Field Details
-
PROP_ID
Constant property name for "id" for internal storage and queries.- See Also:
-
PROP_LOGIN
Constant property name for "login" for internal storage and queries.- See Also:
-
PROP_STATUS
Constant property name for "status" for internal storage and queries.- See Also:
-
PROP_PASSWORD
Constant property name for "password" for internal storage and queries.- See Also:
-
-
Method Details
-
getLogin
String getLogin()Returns the value of the login attribute. -
setLogin
Sets the value of the login attribute. -
getStatus
Returns the value of the status attribute. -
setStatus
Sets the value of the status attribute. -
getPassword
String getPassword()Returns the value of the password attribute. -
setPassword
Sets the value of the password attribute. -
getStatusSize
int getStatusSize()Returns the number of elements in the "status" container -
addStatusElement
Adds a new element to the list. -
removeStatusElement
void removeStatusElement(int index) Removes the element at position index from the list. -
swapStatusElement
void swapStatusElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list. -
getStatusElement
Returns the element at the position index in the list.
-