org.nasdanika.html.model.bootstrap.Item Maven / Gradle / Ivy
/**
*/
package org.nasdanika.html.model.bootstrap;
import org.nasdanika.html.bootstrap.Color;
import org.nasdanika.ncore.ModelElement;
/**
*
* A representation of the model object 'Item'.
*
*
*
* Base class for model elements which can be active, disabled, and have color.
*
*
*
* The following features are supported:
*
*
* - {@link org.nasdanika.html.model.bootstrap.Item#isActive Active}
* - {@link org.nasdanika.html.model.bootstrap.Item#isDisabled Disabled}
* - {@link org.nasdanika.html.model.bootstrap.Item#getColor Color}
*
*
* @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getItem()
* @model abstract="true"
* annotation="http://www.eclipse.org/emf/2002/Ecore constraints='color activeAndDisabled'"
* @generated
*/
public interface Item extends ModelElement {
/**
* Returns the value of the 'Active' attribute.
*
*
*
* Indicates that the item is active (currently selected).
*
* @return the value of the 'Active' attribute.
* @see #setActive(boolean)
* @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getItem_Active()
* @model
* @generated
*/
boolean isActive();
/**
* Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Item#isActive Active}' attribute.
*
*
* @param value the new value of the 'Active' attribute.
* @see #isActive()
* @generated
*/
void setActive(boolean value);
/**
* Returns the value of the 'Disabled' attribute.
*
*
*
* Indicates that the item is disabled and cannot be activated/selected.
*
* @return the value of the 'Disabled' attribute.
* @see #setDisabled(boolean)
* @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getItem_Disabled()
* @model
* @generated
*/
boolean isDisabled();
/**
* Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Item#isDisabled Disabled}' attribute.
*
*
* @param value the new value of the 'Disabled' attribute.
* @see #isDisabled()
* @generated
*/
void setDisabled(boolean value);
/**
* Returns the value of the 'Color' attribute.
*
*
*
* Item Bootstrap color.
*
* @return the value of the 'Color' attribute.
* @see #setColor(Color)
* @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getItem_Color()
* @model dataType="org.nasdanika.html.model.bootstrap.Color"
* @generated
*/
Color getColor();
/**
* Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Item#getColor Color}' attribute.
*
*
* @param value the new value of the 'Color' attribute.
* @see #getColor()
* @generated
*/
void setColor(Color value);
} // Item