All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.lip6.move.pnml.symmetricnet.booleans.BooleanConstant Maven / Gradle / Ivy

/**
 *  Copyright 2009-2016 Université Paris Ouest and Sorbonne Universités,
 * 							Univ. Paris 06 - CNRS UMR 7606 (LIP6)
 *
 *  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
 *
 *  Project leader / Initial Contributor:
 *    Lom Messan Hillah - 
 *
 *  Contributors:
 *    ${ocontributors} - <$oemails}>
 *
 *  Mailing list:
 *    [email protected]
 */
/**
 * (C) Sorbonne Universités, UPMC Univ Paris 06, UMR CNRS 7606 (LIP6/MoVe)
 * 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: 
 *    Lom HILLAH (LIP6) - Initial models and implementation
 *    Rachid Alahyane (UPMC) - Infrastructure and continuous integration
 *    Bastien Bouzerau (UPMC) - Architecture 
 *    Guillaume Giffo (UPMC) - Code generation refactoring, High-level API
 */
package fr.lip6.move.pnml.symmetricnet.booleans;

import java.nio.channels.FileChannel;

import org.apache.axiom.om.OMElement;
import org.eclipse.emf.common.util.DiagnosticChain;

import fr.lip6.move.pnml.framework.utils.IdRefLinker;
import fr.lip6.move.pnml.framework.utils.exception.InnerBuildException;
import fr.lip6.move.pnml.framework.utils.exception.InvalidIDException;
import fr.lip6.move.pnml.framework.utils.exception.VoidRepositoryException;
import fr.lip6.move.pnml.symmetricnet.terms.BuiltInConstant;

/**
 * 
 * A representation of the model object 'Boolean Constant'.
 * 
 *
 * 

* The following features are supported: *

    *
  • {@link fr.lip6.move.pnml.symmetricnet.booleans.BooleanConstant#getValue Value}
  • *
*

* * @see fr.lip6.move.pnml.symmetricnet.booleans.BooleansPackage#getBooleanConstant() * @model annotation="http://www.pnml.org/models/ToPNML tag='booleanconstantt' kind='son'" * @generated */ public interface BooleanConstant extends BuiltInConstant { /** * Returns the value of the 'Value' attribute. * *

* If the meaning of the 'Value' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Value' attribute. * @see #setValue(Boolean) * @see fr.lip6.move.pnml.symmetricnet.booleans.BooleansPackage#getBooleanConstant_Value() * @model required="true" ordered="false" * annotation="http://www.pnml.org/models/ToPNML tag='value' kind='attribute'" * @generated */ Boolean getValue(); /** * Sets the value of the '{@link fr.lip6.move.pnml.symmetricnet.booleans.BooleanConstant#getValue Value}' attribute. * * * @param value the new value of the 'Value' attribute. * @see #getValue() * @generated */ void setValue(Boolean value); /** * Return the string containing the pnml output */ @Override public String toPNML(); /** * set values to conform PNML document */ @Override public void fromPNML(OMElement subRoot, IdRefLinker idr) throws InnerBuildException, InvalidIDException, VoidRepositoryException; /** * Write the PNML xml tree of this object into file */ @Override public void toPNML(FileChannel fc); @Override public boolean validateOCL(DiagnosticChain diagnostics); } // BooleanConstant




© 2015 - 2025 Weber Informatics LLC | Privacy Policy