/**
 */
package org.etsi.mts.tdl;

import java.math.BigInteger;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Literal Value Use</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * </p>
 * <ul>
 *   <li>{@link org.etsi.mts.tdl.LiteralValueUse#getValue <em>Value</em>}</li>
 *   <li>{@link org.etsi.mts.tdl.LiteralValueUse#getIntValue <em>Int Value</em>}</li>
 *   <li>{@link org.etsi.mts.tdl.LiteralValueUse#getBoolValue <em>Bool Value</em>}</li>
 *   <li>{@link org.etsi.mts.tdl.LiteralValueUse#getDataType <em>Data Type</em>}</li>
 * </ul>
 *
 * @see org.etsi.mts.tdl.tdlPackage#getLiteralValueUse()
 * @model
 * @generated
 */
public interface LiteralValueUse extends StaticDataUse
{
	/**
	 * Returns the value of the '<em><b>Value</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Value</em>' attribute.
	 * @see #setValue(String)
	 * @see org.etsi.mts.tdl.tdlPackage#getLiteralValueUse_Value()
	 * @model
	 * @generated
	 */
	String getValue();

	/**
	 * Sets the value of the '{@link org.etsi.mts.tdl.LiteralValueUse#getValue <em>Value</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Value</em>' attribute.
	 * @see #getValue()
	 * @generated
	 */
	void setValue(String value);

	/**
	 * Returns the value of the '<em><b>Int Value</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Int Value</em>' attribute.
	 * @see #setIntValue(BigInteger)
	 * @see org.etsi.mts.tdl.tdlPackage#getLiteralValueUse_IntValue()
	 * @model
	 * @generated
	 */
	BigInteger getIntValue();

	/**
	 * Sets the value of the '{@link org.etsi.mts.tdl.LiteralValueUse#getIntValue <em>Int Value</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Int Value</em>' attribute.
	 * @see #getIntValue()
	 * @generated
	 */
	void setIntValue(BigInteger value);

	/**
	 * Returns the value of the '<em><b>Bool Value</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Bool Value</em>' attribute.
	 * @see #setBoolValue(Boolean)
	 * @see org.etsi.mts.tdl.tdlPackage#getLiteralValueUse_BoolValue()
	 * @model
	 * @generated
	 */
	Boolean getBoolValue();

	/**
	 * Sets the value of the '{@link org.etsi.mts.tdl.LiteralValueUse#getBoolValue <em>Bool Value</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Bool Value</em>' attribute.
	 * @see #getBoolValue()
	 * @generated
	 */
	void setBoolValue(Boolean value);

	/**
	 * Returns the value of the '<em><b>Data Type</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Data Type</em>' reference.
	 * @see #setDataType(DataType)
	 * @see org.etsi.mts.tdl.tdlPackage#getLiteralValueUse_DataType()
	 * @model
	 * @generated
	 */
	DataType getDataType();

	/**
	 * Sets the value of the '{@link org.etsi.mts.tdl.LiteralValueUse#getDataType <em>Data Type</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Data Type</em>' reference.
	 * @see #getDataType()
	 * @generated
	 */
	void setDataType(DataType value);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot body='\n                if (not self.dataType.oclIsUndefined()) then\n                    self.dataType\n                else \n                    if (self.container().oclIsTypeOf(MemberAssignment)) then\n                        self.container().oclAsType(MemberAssignment).member.dataType\n                    else \n                        if (self.container().oclIsTypeOf(ParameterBinding)) then\n                            self.container().oclAsType(ParameterBinding).parameter.dataType\n                        else\n                            if (not self.intValue.oclIsUndefined()) then\n                                SimpleDataType.allInstances()-&gt;select(t | t.name = \'Integer\')-&gt;asOrderedSet()-&gt;first()\n                            else\n                                if (not self.boolValue.oclIsUndefined()) then\n                                    SimpleDataType.allInstances()-&gt;select(t | t.name = \'Boolean\')-&gt;asOrderedSet()-&gt;first()\n                                else \n                                    SimpleDataType.allInstances()-&gt;select(t | t.name = \'String\')-&gt;asOrderedSet()-&gt;first()\n                                endif\n                            endif\n                        endif\n                    endif\n                endif\n                '"
	 * @generated
	 */
	DataType resolveDataType();

} // LiteralValueUse
