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

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

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

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

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

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

	/**
	 * Sets the value of the subattributes attribute.
	 */
	public void setSubattributes(List 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 number of elements in the "subattributes" container
	 */
	public int getSubattributesSize();

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

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

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

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

	/**
	 * 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);


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy