-
Dominique Marcadet authoredDominique Marcadet authored
ServiceNsUsage.java 11.79 KiB
/**
* Copyright (c) 2019 CentraleSupélec & EDF.
* 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
*
* This file is part of the RiseClipse tool
*
* Contributors:
* Computer Science Department, CentraleSupélec
* EDF R&D
* Contacts:
* dominique.marcadet@centralesupelec.fr
* aurelie.dehouck-neveu@edf.fr
* Web site:
* http://wdi.supelec.fr/software/RiseClipse/
*
*/
package fr.centralesupelec.edf.riseclipse.iec61850.nsd;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Service Ns Usage</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* Describes the list of (domain) NS for which a ServiceNS is applicable.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getAppliesTo <em>Applies To</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getId <em>Id</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getPublicationStage <em>Publication Stage</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getRelease <em>Release</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getRevision <em>Revision</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getVersion <em>Version</em>}</li>
* </ul>
*
* @see fr.centralesupelec.edf.riseclipse.iec61850.nsd.NsdPackage#getServiceNsUsage()
* @model extendedMetaData="name='tServiceNsUsage' kind='elementOnly'"
* @generated
*/
public interface ServiceNsUsage extends EObject {
/**
* Returns the value of the '<em><b>Applies To</b></em>' containment reference list.
* The list contents are of type {@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.AppliesToType}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* References to namespaces this ServiceNS can be used with.
* <!-- end-model-doc -->
* @return the value of the '<em>Applies To</em>' containment reference list.
* @see fr.centralesupelec.edf.riseclipse.iec61850.nsd.NsdPackage#getServiceNsUsage_AppliesTo()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='AppliesTo' namespace='##targetNamespace'"
* @generated
*/
EList< AppliesToType > getAppliesTo();
/**
* Returns the value of the '<em><b>Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Identifier of the namespace, e.g., "IEC 61850-7-4", "(Tr)IEC 61850-90-4".
* <!-- end-model-doc -->
* @return the value of the '<em>Id</em>' attribute.
* @see #setId(String)
* @see fr.centralesupelec.edf.riseclipse.iec61850.nsd.NsdPackage#getServiceNsUsage_Id()
* @model required="true"
* extendedMetaData="kind='attribute' name='id'"
* @generated
*/
String getId();
/**
* Sets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#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>Publication Stage</b></em>' attribute.
* The default value is <code>"IS"</code>.
* The literals are from the enumeration {@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.PubStage}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The publication stage of the namespace, by default IS.
* <!-- end-model-doc -->
* @return the value of the '<em>Publication Stage</em>' attribute.
* @see fr.centralesupelec.edf.riseclipse.iec61850.nsd.PubStage
* @see #isSetPublicationStage()
* @see #unsetPublicationStage()
* @see #setPublicationStage(PubStage)
* @see fr.centralesupelec.edf.riseclipse.iec61850.nsd.NsdPackage#getServiceNsUsage_PublicationStage()
* @model default="IS" unsettable="true"
* extendedMetaData="kind='attribute' name='publicationStage'"
* @generated
*/
PubStage getPublicationStage();
/**
* Sets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getPublicationStage <em>Publication Stage</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Publication Stage</em>' attribute.
* @see fr.centralesupelec.edf.riseclipse.iec61850.nsd.PubStage
* @see #isSetPublicationStage()
* @see #unsetPublicationStage()
* @see #getPublicationStage()
* @generated
*/
void setPublicationStage( PubStage value );
/**
* Unsets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getPublicationStage <em>Publication Stage</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetPublicationStage()
* @see #getPublicationStage()
* @see #setPublicationStage(PubStage)
* @generated
*/
void unsetPublicationStage();
/**
* Returns whether the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getPublicationStage <em>Publication Stage</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Publication Stage</em>' attribute is set.
* @see #unsetPublicationStage()
* @see #getPublicationStage()
* @see #setPublicationStage(PubStage)
* @generated
*/
boolean isSetPublicationStage();
/**
* Returns the value of the '<em><b>Release</b></em>' attribute.
* The default value is <code>"1"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Release of the namespace version and revision, by default 1.
* <!-- end-model-doc -->
* @return the value of the '<em>Release</em>' attribute.
* @see #isSetRelease()
* @see #unsetRelease()
* @see #setRelease(short)
* @see fr.centralesupelec.edf.riseclipse.iec61850.nsd.NsdPackage#getServiceNsUsage_Release()
* @model default="1" unsettable="true" dataType="fr.centralesupelec.edf.riseclipse.iec61850.nsd.NSRelease"
* extendedMetaData="kind='attribute' name='release'"
* @generated
*/
short getRelease();
/**
* Sets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getRelease <em>Release</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Release</em>' attribute.
* @see #isSetRelease()
* @see #unsetRelease()
* @see #getRelease()
* @generated
*/
void setRelease( short value );
/**
* Unsets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getRelease <em>Release</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetRelease()
* @see #getRelease()
* @see #setRelease(short)
* @generated
*/
void unsetRelease();
/**
* Returns whether the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getRelease <em>Release</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Release</em>' attribute is set.
* @see #unsetRelease()
* @see #getRelease()
* @see #setRelease(short)
* @generated
*/
boolean isSetRelease();
/**
* Returns the value of the '<em><b>Revision</b></em>' attribute.
* The default value is <code>"A"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Revision of the namespace version, by default 'A'.
* <!-- end-model-doc -->
* @return the value of the '<em>Revision</em>' attribute.
* @see #isSetRevision()
* @see #unsetRevision()
* @see #setRevision(String)
* @see fr.centralesupelec.edf.riseclipse.iec61850.nsd.NsdPackage#getServiceNsUsage_Revision()
* @model default="A" unsettable="true"
* extendedMetaData="kind='attribute' name='revision'"
* @generated
*/
String getRevision();
/**
* Sets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getRevision <em>Revision</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Revision</em>' attribute.
* @see #isSetRevision()
* @see #unsetRevision()
* @see #getRevision()
* @generated
*/
void setRevision( String value );
/**
* Unsets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getRevision <em>Revision</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetRevision()
* @see #getRevision()
* @see #setRevision(String)
* @generated
*/
void unsetRevision();
/**
* Returns whether the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getRevision <em>Revision</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Revision</em>' attribute is set.
* @see #unsetRevision()
* @see #getRevision()
* @see #setRevision(String)
* @generated
*/
boolean isSetRevision();
/**
* Returns the value of the '<em><b>Version</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Version (year) of the namespace.
* <!-- end-model-doc -->
* @return the value of the '<em>Version</em>' attribute.
* @see #isSetVersion()
* @see #unsetVersion()
* @see #setVersion(int)
* @see fr.centralesupelec.edf.riseclipse.iec61850.nsd.NsdPackage#getServiceNsUsage_Version()
* @model unsettable="true" dataType="fr.centralesupelec.edf.riseclipse.iec61850.nsd.NSVersion" required="true"
* extendedMetaData="kind='attribute' name='version'"
* @generated
*/
int getVersion();
/**
* Sets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getVersion <em>Version</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Version</em>' attribute.
* @see #isSetVersion()
* @see #unsetVersion()
* @see #getVersion()
* @generated
*/
void setVersion( int value );
/**
* Unsets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getVersion <em>Version</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetVersion()
* @see #getVersion()
* @see #setVersion(int)
* @generated
*/
void unsetVersion();
/**
* Returns whether the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.nsd.ServiceNsUsage#getVersion <em>Version</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Version</em>' attribute is set.
* @see #unsetVersion()
* @see #getVersion()
* @see #setVersion(int)
* @generated
*/
boolean isSetVersion();
} // ServiceNsUsage