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

net.anotheria.anosite.gen.aswebdata.data.Attribute Maven / Gradle / Ivy

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

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

public interface Attribute 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 "key" for internal storage and queries.
	 */
	String PROP_KEY	= "key";
	/**
	 * Constant property name for "value" for internal storage and queries.
	 */
	String PROP_VALUE	= "value";
	/**
	 * Constant property name for "subattributes" for internal storage and queries.
	 */
	String PROP_SUBATTRIBUTES	= "subattributes";
	/**
	 * Constant property name for "guards" for internal storage and queries.
	 */
	String PROP_GUARDS	= "guards";

	/**
	 * 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 key attribute.
	 */
	String getKey();

	/**
	 * Sets the value of the key attribute.
	 */
	void setKey(String value);

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

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

	/**
	 * Returns the value of the subattributes attribute.
	 */
	List getSubattributes();

	/**
	 * Sets the value of the subattributes attribute.
	 */
	void setSubattributes(List value);

	/**
	 * Returns the value of the guards attribute.
	 */
	List getGuards();

	/**
	 * Sets the value of the guards attribute.
	 */
	void setGuards(List value);


	/**
	 * Returns the number of elements in the "subattributes" container
	 */
	int getSubattributesSize();

	/**
	 * Adds a new element to the list.
	 */
	void addSubattributesElement(String type);

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

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

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

	/**
	 * Returns the number of elements in the "guards" container
	 */
	int getGuardsSize();

	/**
	 * Adds a new element to the list.
	 */
	void addGuardsElement(String guard);

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

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

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


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy