blob: 0a05626d257c1aa248af396291e88663bdad2c63 [file] [log] [blame]
/**
* Copyright (c) 2002-2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM - Initial API and implementation
*/
package org.eclipse.xsd;
/**
* <!-- begin-user-doc -->
* A representation of the model object
* '<a href="http://www.w3.org/TR/xmlschema-2/#dc-fractionDigits"><em><b>Fraction Digits Facet</b></em></a>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.xsd.XSDFractionDigitsFacet#getValue <em>Value</em>}</li>
* </ul>
*
* @see org.eclipse.xsd.XSDPackage#getXSDFractionDigitsFacet()
* @model
* @generated
*/
public interface XSDFractionDigitsFacet extends XSDFixedFacet
{
/**
* Returns the value of the '<em><b>Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* This represents the
* <a href="http://www.w3.org/TR/xmlschema-2/#fractionDigits-value">value</a>
* infoset property.
* It is computed from the '{@link #getLexicalValue() <em>Lexical Value</em>}' attribute and should typically not be set directly.
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Value</em>' attribute.
* @see #setValue(int)
* @see org.eclipse.xsd.XSDPackage#getXSDFractionDigitsFacet_Value()
* @model
* @generated
*/
int getValue();
/**
* Sets the value of the '{@link org.eclipse.xsd.XSDFractionDigitsFacet#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(int value);
}