blob: a58e725613b9eed5e5799a5c0d4136f9797651f6 [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 v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* IBM - Initial API and implementation
*/
package org.eclipse.xsd;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Min Facet</b></em>'.
* It represents aspects common to
* '{@link org.eclipse.xsd.XSDMinExclusiveFacet <em>Min Exclusive Facet</em>}' and
* '{@link org.eclipse.xsd.XSDMinInclusiveFacet <em>Min Inclusive Facet</em>}'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.xsd.XSDMinFacet#getValue <em>Value</em>}</li>
* <li>{@link org.eclipse.xsd.XSDMinFacet#isInclusive <em>Inclusive</em>}</li>
* <li>{@link org.eclipse.xsd.XSDMinFacet#isExclusive <em>Exclusive</em>}</li>
* </ul>
*
* @see org.eclipse.xsd.XSDPackage#getXSDMinFacet()
* @model abstract="true"
* @generated
*/
public interface XSDMinFacet extends XSDFixedFacet {
/**
* Returns the value of the '<em><b>Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* This represents the
* minExclusive <a href="http://www.w3.org/TR/xmlschema-2/#minExclusive-value">value</a> or
* minInclusive <a href="http://www.w3.org/TR/xmlschema-2/#minInclusive-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(Object)
* @see org.eclipse.xsd.XSDPackage#getXSDMinFacet_Value()
* @model dataType="org.eclipse.xsd.Value"
* @generated
*/
Object getValue();
/**
* Sets the value of the '{@link org.eclipse.xsd.XSDMinFacet#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(Object value);
/**
* Returns the value of the '<em><b>Inclusive</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* The value is <code>true</code> if this is a {@link org.eclipse.xsd.XSDMinInclusiveFacet}.
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Inclusive</em>' attribute.
* @see org.eclipse.xsd.XSDPackage#getXSDMinFacet_Inclusive()
* @model changeable="false" volatile="true"
* @generated
*/
boolean isInclusive();
/**
* Returns the value of the '<em><b>Exclusive</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Exclusive</em>' attribute.
* @see org.eclipse.xsd.XSDPackage#getXSDMinFacet_Exclusive()
* @model changeable="false" volatile="true"
* @generated
*/
boolean isExclusive();
}