/** * <copyright> * </copyright> * * $Id$ */ package org.eclipse.gmf.codegen.gmfgen; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Gen Audit Context</b></em>'. * <!-- end-user-doc --> * * <!-- begin-model-doc --> * * <!-- end-model-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.eclipse.gmf.codegen.gmfgen.GenAuditContext#getRoot <em>Root</em>}</li> * <li>{@link org.eclipse.gmf.codegen.gmfgen.GenAuditContext#getId <em>Id</em>}</li> * <li>{@link org.eclipse.gmf.codegen.gmfgen.GenAuditContext#getClassName <em>Class Name</em>}</li> * <li>{@link org.eclipse.gmf.codegen.gmfgen.GenAuditContext#getRuleTargets <em>Rule Targets</em>}</li> * </ul> * </p> * * @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getGenAuditContext() * @model * @generated */ public interface GenAuditContext extends EObject { /** * Returns the value of the '<em><b>Root</b></em>' container reference. * It is bidirectional and its opposite is '{@link org.eclipse.gmf.codegen.gmfgen.GenAuditRoot#getClientContexts <em>Client Contexts</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Root</em>' container reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Root</em>' container reference. * @see #setRoot(GenAuditRoot) * @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getGenAuditContext_Root() * @see org.eclipse.gmf.codegen.gmfgen.GenAuditRoot#getClientContexts * @model opposite="clientContexts" resolveProxies="false" required="true" transient="false" * @generated */ GenAuditRoot getRoot(); /** * Sets the value of the '{@link org.eclipse.gmf.codegen.gmfgen.GenAuditContext#getRoot <em>Root</em>}' container reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Root</em>' container reference. * @see #getRoot() * @generated */ void setRoot(GenAuditRoot value); /** * Returns the value of the '<em><b>Id</b></em>' attribute. * The default value is <code>"DefaultCtx"</code>. * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * Identifier of the validation client context for this target. Should be a valid java identifier. Identifier will be qualified automatically (i.e. should be unique within this editor only). * <!-- end-model-doc --> * @return the value of the '<em>Id</em>' attribute. * @see #setId(String) * @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getGenAuditContext_Id() * @model default="DefaultCtx" required="true" * @generated */ String getId(); /** * Sets the value of the '{@link org.eclipse.gmf.codegen.gmfgen.GenAuditContext#getId <em>Id</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Id</em>' attribute. * @see #getId() * @generated */ void setId(String value); /** * Returns the value of the '<em><b>Class Name</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Class Name</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * <!-- begin-model-doc --> * Unless explicitly set, equals to 'id'. Note, this class may get generated as inner class. * <!-- end-model-doc --> * @return the value of the '<em>Class Name</em>' attribute. * @see #setClassName(String) * @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getGenAuditContext_ClassName() * @model required="true" * @generated */ String getClassName(); /** * Sets the value of the '{@link org.eclipse.gmf.codegen.gmfgen.GenAuditContext#getClassName <em>Class Name</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Class Name</em>' attribute. * @see #getClassName() * @generated */ void setClassName(String value); /** * Returns the value of the '<em><b>Rule Targets</b></em>' reference list. * The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenAuditable}. * It is bidirectional and its opposite is '{@link org.eclipse.gmf.codegen.gmfgen.GenAuditable#getContextSelector <em>Context Selector</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Rule Targets</em>' reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Rule Targets</em>' reference list. * @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getGenAuditContext_RuleTargets() * @see org.eclipse.gmf.codegen.gmfgen.GenAuditable#getContextSelector * @model opposite="contextSelector" * @generated */ EList<GenAuditable> getRuleTargets(); /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @model kind="operation" required="true" * @generated */ String getQualifiedClassName(); } // GenAuditContext