blob: 98f42bcf9b7c2ddbd5a1ec2bf03b32ba0764374a [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2019 IBM Corporation and others.
* 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
*******************************************************************************/
/**
* <copyright>
* </copyright>
*
* $Id: ClassApi.java,v 1.1 2005/01/20 12:03:03 ryman Exp $
*/
package org.eclipse.component.api;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Class Api</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.component.api.ClassApi#getMethodApi <em>Method Api</em>}</li>
* <li>{@link org.eclipse.component.api.ClassApi#getFieldApi <em>Field Api</em>}</li>
* <li>{@link org.eclipse.component.api.ClassApi#isImplement <em>Implement</em>}</li>
* <li>{@link org.eclipse.component.api.ClassApi#isInstantiate <em>Instantiate</em>}</li>
* <li>{@link org.eclipse.component.api.ClassApi#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.component.api.ClassApi#isReference <em>Reference</em>}</li>
* <li>{@link org.eclipse.component.api.ClassApi#isSubclass <em>Subclass</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.component.api.ApiPackage#getClassApi()
* @model
* @generated
*/
public interface ClassApi extends EObject
{
/**
* Returns the value of the '<em><b>Method Api</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.component.api.MethodApi}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Method Api</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Method Api</em>' containment reference list.
* @see org.eclipse.component.api.ApiPackage#getClassApi_MethodApi()
* @model type="org.eclipse.component.api.MethodApi" containment="true" resolveProxies="false" required="true"
* @generated
*/
EList getMethodApi();
/**
* Returns the value of the '<em><b>Field Api</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.component.api.FieldApi}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Field Api</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Field Api</em>' containment reference list.
* @see org.eclipse.component.api.ApiPackage#getClassApi_FieldApi()
* @model type="org.eclipse.component.api.FieldApi" containment="true" resolveProxies="false" required="true"
* @generated
*/
EList getFieldApi();
/**
* Returns the value of the '<em><b>Implement</b></em>' attribute.
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Implement</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Implement</em>' attribute.
* @see #isSetImplement()
* @see #unsetImplement()
* @see #setImplement(boolean)
* @see org.eclipse.component.api.ApiPackage#getClassApi_Implement()
* @model default="true" unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
* @generated
*/
boolean isImplement();
/**
* Sets the value of the '{@link org.eclipse.component.api.ClassApi#isImplement <em>Implement</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Implement</em>' attribute.
* @see #isSetImplement()
* @see #unsetImplement()
* @see #isImplement()
* @generated
*/
void setImplement(boolean value);
/**
* Unsets the value of the '{@link org.eclipse.component.api.ClassApi#isImplement <em>Implement</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetImplement()
* @see #isImplement()
* @see #setImplement(boolean)
* @generated
*/
void unsetImplement();
/**
* Returns whether the value of the '{@link org.eclipse.component.api.ClassApi#isImplement <em>Implement</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Implement</em>' attribute is set.
* @see #unsetImplement()
* @see #isImplement()
* @see #setImplement(boolean)
* @generated
*/
boolean isSetImplement();
/**
* Returns the value of the '<em><b>Instantiate</b></em>' attribute.
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Instantiate</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Instantiate</em>' attribute.
* @see #isSetInstantiate()
* @see #unsetInstantiate()
* @see #setInstantiate(boolean)
* @see org.eclipse.component.api.ApiPackage#getClassApi_Instantiate()
* @model default="true" unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
* @generated
*/
boolean isInstantiate();
/**
* Sets the value of the '{@link org.eclipse.component.api.ClassApi#isInstantiate <em>Instantiate</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Instantiate</em>' attribute.
* @see #isSetInstantiate()
* @see #unsetInstantiate()
* @see #isInstantiate()
* @generated
*/
void setInstantiate(boolean value);
/**
* Unsets the value of the '{@link org.eclipse.component.api.ClassApi#isInstantiate <em>Instantiate</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetInstantiate()
* @see #isInstantiate()
* @see #setInstantiate(boolean)
* @generated
*/
void unsetInstantiate();
/**
* Returns whether the value of the '{@link org.eclipse.component.api.ClassApi#isInstantiate <em>Instantiate</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Instantiate</em>' attribute is set.
* @see #unsetInstantiate()
* @see #isInstantiate()
* @see #setInstantiate(boolean)
* @generated
*/
boolean isSetInstantiate();
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.component.api.ApiPackage#getClassApi_Name()
* @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.eclipse.component.api.ClassApi#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Reference</b></em>' attribute.
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Reference</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Reference</em>' attribute.
* @see #isSetReference()
* @see #unsetReference()
* @see #setReference(boolean)
* @see org.eclipse.component.api.ApiPackage#getClassApi_Reference()
* @model default="true" unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
* @generated
*/
boolean isReference();
/**
* Sets the value of the '{@link org.eclipse.component.api.ClassApi#isReference <em>Reference</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Reference</em>' attribute.
* @see #isSetReference()
* @see #unsetReference()
* @see #isReference()
* @generated
*/
void setReference(boolean value);
/**
* Unsets the value of the '{@link org.eclipse.component.api.ClassApi#isReference <em>Reference</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetReference()
* @see #isReference()
* @see #setReference(boolean)
* @generated
*/
void unsetReference();
/**
* Returns whether the value of the '{@link org.eclipse.component.api.ClassApi#isReference <em>Reference</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Reference</em>' attribute is set.
* @see #unsetReference()
* @see #isReference()
* @see #setReference(boolean)
* @generated
*/
boolean isSetReference();
/**
* Returns the value of the '<em><b>Subclass</b></em>' attribute.
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Subclass</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Subclass</em>' attribute.
* @see #isSetSubclass()
* @see #unsetSubclass()
* @see #setSubclass(boolean)
* @see org.eclipse.component.api.ApiPackage#getClassApi_Subclass()
* @model default="true" unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
* @generated
*/
boolean isSubclass();
/**
* Sets the value of the '{@link org.eclipse.component.api.ClassApi#isSubclass <em>Subclass</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Subclass</em>' attribute.
* @see #isSetSubclass()
* @see #unsetSubclass()
* @see #isSubclass()
* @generated
*/
void setSubclass(boolean value);
/**
* Unsets the value of the '{@link org.eclipse.component.api.ClassApi#isSubclass <em>Subclass</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetSubclass()
* @see #isSubclass()
* @see #setSubclass(boolean)
* @generated
*/
void unsetSubclass();
/**
* Returns whether the value of the '{@link org.eclipse.component.api.ClassApi#isSubclass <em>Subclass</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Subclass</em>' attribute is set.
* @see #unsetSubclass()
* @see #isSubclass()
* @see #setSubclass(boolean)
* @generated
*/
boolean isSetSubclass();
} // ClassApi