Package org.overturetool.vdmj.values

Examples of org.overturetool.vdmj.values.NameValuePairList


  protected ValueInfo getValue(String name) throws RemoteSimulationException
  {
    try
    {
      NameValuePairList list = SystemDefinition.getSystemMembers();
      if (list != null && links.getLinks().containsKey(name))
      {
        List<String> varName = links.getQualifiedName(name);

        ValueInfo output = VDMClassHelper.digForVariable(varName.subList(1, varName.size()), list);
View Full Code Here


  {
    if (name.isEmpty())
    {
      return v;
    }
    NameValuePairList list = null;
    if (v == null)
    {
      list = SystemDefinition.getSystemMembers();
    } else if (v.deref() instanceof ObjectValue)
    {
View Full Code Here

  }

  private ValueContents getOutput(String name) throws ValueException,
      RemoteSimulationException
  {
    NameValuePairList list = SystemDefinition.getSystemMembers();
    if (list != null && links.getLinks().containsKey(name))
    {
      List<String> varName = links.getQualifiedName(name);

      Value value = VDMClassHelper.digForVariable(varName.subList(1, varName.size()), list).value;
View Full Code Here

    {

      for (Entry<String, LinkInfo> entry : links.getInputs().entrySet())
      {

        NameValuePairList list = SystemDefinition.getSystemMembers();
        if (list != null)
        {
          List<String> varName = entry.getValue().getQualifiedName();
          ValueInfo value = VDMClassHelper.digForVariable(varName.subList(1, varName.size()), list);
          readCheck.add(value.name);
        }

      }
      for (Entry<String, LinkInfo> entry : links.getOutputs().entrySet())
      {
        NameValuePairList list = SystemDefinition.getSystemMembers();
        if (list != null)
        {
          List<String> varName = entry.getValue().getQualifiedName();
          ValueInfo value = VDMClassHelper.digForVariable(varName.subList(1, varName.size()), list);
          writeCheck.add(value.name);
View Full Code Here

  {
    try
    {
      Map<String, ValueContents> parameters = new Hashtable<String, ValueContents>();

      NameValuePairList list = SystemDefinition.getSystemMembers();
      if (list != null && list.size() > 0)
      {
        parameters.putAll(getParameters(list.get(0).name.module, list, 0));
      }

      return parameters;
    } catch (Exception e)
    {
View Full Code Here

TOP

Related Classes of org.overturetool.vdmj.values.NameValuePairList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.