blob: 48f5a4772e0e94f5a254ba8a6179d1c6f2f4a253 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2001, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.wst.xsd.ui.internal.adt.facade;
import org.eclipse.gef.commands.Command;
public interface IField extends IADTObject
{
String getKind();
String getName();
String getTypeName();
String getTypeNameQualifier();
IModel getModel();
IType getType();
IComplexType getContainerType();
int getMinOccurs();
int getMaxOccurs();
boolean isGlobal();
boolean isReference();
boolean isAbstract();
Command getUpdateMinOccursCommand(int minOccurs);
Command getUpdateMaxOccursCommand(int maxOccurs);
Command getUpdateTypeNameCommand(String typeName, String quailifier);
Command getUpdateNameCommand(String name);
Command getDeleteCommand();
}