All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anotheria.anosite.gen.anoaccessapplicationdata.data.UserData Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
/**
 ********************************************************************************
 *** UserData.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.anoaccessapplicationdata.data;

import net.anotheria.asg.data.DataObject;
import java.util.List;
import net.anotheria.util.sorter.IComparable;

public interface UserData extends DataObject, IComparable {

	/**
	 * Constant property name for "id" for internal storage and queries.
	 */
	String PROP_ID	= "id";
	/**
	 * Constant property name for "userId" for internal storage and queries.
	 */
	String PROP_USER_ID	= "userId";
	/**
	 * Constant property name for "roles" for internal storage and queries.
	 */
	String PROP_ROLES	= "roles";

	/**
	 * Returns the value of the userId attribute.
	 */
	String getUserId();

	/**
	 * Sets the value of the userId attribute.
	 */
	void setUserId(String value);

	/**
	 * Returns the value of the roles attribute.
	 */
	List getRoles();

	/**
	 * Sets the value of the roles attribute.
	 */
	void setRoles(List value);


	/**
	 * Returns the number of elements in the "roles" container
	 */
	int getRolesSize();

	/**
	 * Adds a new element to the list.
	 */
	void addRolesElement(String role);

	/**
	 * Removes the element at position index from the list.
	 */
	void removeRolesElement(int index);

	/**
	 * Swaps elements at positions index1 and index2 in the list.
	 */
	void swapRolesElement(int index1, int index2);

	/**
	 * Returns the element at the position index in the list.
	 */
	String getRolesElement(int index);


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy