net.anotheria.anosite.gen.anoaccessconfiguration.data.Role Maven / Gradle / Ivy
The newest version!
/**
********************************************************************************
*** Role.java ***
*** generated by AnoSiteGenerator (ASG), Version: 4.2.2 ***
*** Copyright (C) 2005 - 2025 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.anoaccessconfiguration.data;
import net.anotheria.asg.data.DataObject;
import java.util.List;
import net.anotheria.util.sorter.IComparable;
public interface Role extends DataObject, IComparable {
/**
* Constant property name for "id" for internal storage and queries.
*/
String PROP_ID = "id";
/**
* Constant property name for "name" for internal storage and queries.
*/
String PROP_NAME = "name";
/**
* Constant property name for "permissions" for internal storage and queries.
*/
String PROP_PERMISSIONS = "permissions";
/**
* Constant property name for "contextInitializers" for internal storage and queries.
*/
String PROP_CONTEXT_INITIALIZERS = "contextInitializers";
/**
* Constant property name for "description" for internal storage and queries.
*/
String PROP_DESCRIPTION = "description";
/**
* Returns the value of the name attribute.
*/
String getName();
/**
* Sets the value of the name attribute.
*/
void setName(String value);
/**
* Returns the value of the permissions attribute.
*/
List getPermissions();
/**
* Sets the value of the permissions attribute.
*/
void setPermissions(List value);
/**
* Returns the value of the contextInitializers attribute.
*/
List getContextInitializers();
/**
* Sets the value of the contextInitializers attribute.
*/
void setContextInitializers(List value);
/**
* Returns the value of the description attribute.
*/
String getDescription();
/**
* Sets the value of the description attribute.
*/
void setDescription(String value);
/**
* Returns the number of elements in the "permissions" container
*/
int getPermissionsSize();
/**
* Adds a new element to the list.
*/
void addPermissionsElement(String permission);
/**
* Removes the element at position index from the list.
*/
void removePermissionsElement(int index);
/**
* Swaps elements at positions index1 and index2 in the list.
*/
void swapPermissionsElement(int index1, int index2);
/**
* Returns the element at the position index in the list.
*/
String getPermissionsElement(int index);
/**
* Returns the number of elements in the "contextInitializers" container
*/
int getContextInitializersSize();
/**
* Adds a new element to the list.
*/
void addContextInitializersElement(String contextInitializer);
/**
* Removes the element at position index from the list.
*/
void removeContextInitializersElement(int index);
/**
* Swaps elements at positions index1 and index2 in the list.
*/
void swapContextInitializersElement(int index1, int index2);
/**
* Returns the element at the position index in the list.
*/
String getContextInitializersElement(int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy