cz.cuni.pogamut.shed.widget
Class ShedWidget.Variable

Package class diagram package ShedWidget.Variable
java.lang.Object
  extended by cz.cuni.pogamut.shed.widget.ShedWidget.Variable
Enclosing class:
ShedWidget

public static final class ShedWidget.Variable
extends Object

Structure holding info about variable shown in the widget.


Field Summary
 String errorMsg
          Error message about the variable.
 String name
          Name of the variable, e.g.
 cz.cuni.amis.pogamut.sposh.executor.ParamInfo.Type type
          Type of the variable.
 String valueString
          Value shown to the user.
 
Constructor Summary
ShedWidget.Variable(String name, cz.cuni.amis.pogamut.sposh.executor.ParamInfo.Type type, String valueString, String errorMsg)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public final String name
Name of the variable, e.g. $team.


type

public final cz.cuni.amis.pogamut.sposh.executor.ParamInfo.Type type
Type of the variable. If unknown/undefined, null.


valueString

public final String valueString
Value shown to the user. If missing, then blank.


errorMsg

public final String errorMsg
Error message about the variable. Can be type error (value of variable is int, but it should be enum) or the value should reference missing variable ($var=čmissingVar). Blank, if no error.

Constructor Detail

ShedWidget.Variable

public ShedWidget.Variable(String name,
                           cz.cuni.amis.pogamut.sposh.executor.ParamInfo.Type type,
                           String valueString,
                           String errorMsg)
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.