net.anotheria.anosite.gen.asfeature.data.Feature Maven / Gradle / Ivy
/**
********************************************************************************
*** Feature.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.asfeature.data;
import net.anotheria.asg.data.DataObject;
import java.util.List;
import net.anotheria.util.sorter.IComparable;
public interface Feature extends DataObject, IComparable {
/**
* Constant property name for "id" for internal storage and queries.
*/
public static final String PROP_ID = "id";
/**
* Constant property name for "name" for internal storage and queries.
*/
public static final String PROP_NAME = "name";
/**
* Constant property name for "enabled" for internal storage and queries.
*/
public static final String PROP_ENABLED = "enabled";
/**
* Constant property name for "obsolete" for internal storage and queries.
*/
public static final String PROP_OBSOLETE = "obsolete";
/**
* Constant property name for "description" for internal storage and queries.
*/
public static final String PROP_DESCRIPTION = "description";
/**
* Constant property name for "guards" for internal storage and queries.
*/
public static final String PROP_GUARDS = "guards";
/**
* Constant property name for "accessOperation" for internal storage and queries.
*/
public static final String LINK_PROP_ACCESS_OPERATION = "accessOperation";
/**
* Returns the value of the name attribute.
*/
public String getName();
/**
* Sets the value of the name attribute.
*/
public void setName(String value);
/**
* Returns the value of the enabled attribute.
*/
public boolean getEnabled();
/**
* Sets the value of the enabled attribute.
*/
public void setEnabled(boolean value);
/**
* Returns the value of the obsolete attribute.
*/
public boolean getObsolete();
/**
* Sets the value of the obsolete attribute.
*/
public void setObsolete(boolean value);
/**
* Returns the value of the description attribute.
*/
public String getDescription();
/**
* Sets the value of the description attribute.
*/
public void setDescription(String value);
/**
* Returns the value of the guards attribute.
*/
public List getGuards();
/**
* Sets the value of the guards attribute.
*/
public void setGuards(List value);
/**
* Returns the value of the accessOperation attribute.
*/
public String getAccessOperation();
/**
* Sets the value of the accessOperation attribute.
*/
public void setAccessOperation(String value);
/**
* Returns the number of elements in the "guards" container
*/
public int getGuardsSize();
/**
* Adds a new element to the list.
*/
public void addGuardsElement(String guard);
/**
* Removes the element at position index from the list.
*/
public void removeGuardsElement(int index);
/**
* Swaps elements at positions index1 and index2 in the list.
*/
public void swapGuardsElement(int index1, int index2);
/**
* Returns the element at the position index in the list.
*/
public String getGuardsElement(int index);
}