| /** |
| * 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-maxLength"><em><b>Max Length Facet</b></em></a>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.xsd.XSDMaxLengthFacet#getValue <em>Value</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.xsd.XSDPackage#getXSDMaxLengthFacet() |
| * @model |
| * @generated |
| */ |
| public interface XSDMaxLengthFacet 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/#maxLength-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#getXSDMaxLengthFacet_Value() |
| * @model |
| * @generated |
| */ |
| int getValue(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.xsd.XSDMaxLengthFacet#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); |
| |
| } |