/** * Get the initialval. * @return The initialval. */ public String getInitialValueString() { UnparsedExpression exp = getInitialValue(); return exp != null? exp.getValue() : null; }
/** * Get a property value from the model. * @param name The name. */ public UnparsedExpression getPropertyValue(String name) { UnparsedExpression ret = null; if(properties!=null) { MProperty mprop = properties.get(name); ret = mprop != null? mprop.getInitialValue() : null; } return ret; }
String reqname = (String)SJavaParser.evaluateExpression(msparam.getInitialValue().getValue(), mi.getAllImports(), null, cl); String methodname = (String)SJavaParser.evaluateExpression(mmparam.getInitialValue().getValue(), mi.getAllImports(), null, cl);
if(mprop.getInitialValue()!=null) String sername = (String)SJavaParser.parseExpression(mprop.getInitialValue(), model.getAllImports(), cl).getValue(null); cbsername.setSelectedItem(sername); if(mprop.getInitialValue()!=null) String methodname = (String)SJavaParser.parseExpression(mprop.getInitialValue(), model.getAllImports(), cl).getValue(null);
String reqname = (String)SJavaParser.evaluateExpression(msparam.getInitialValue().getValue(), mi.getAllImports(), null, cl); String methodname = (String)SJavaParser.evaluateExpression(mmparam.getInitialValue().getValue(), mi.getAllImports(), null, cl);
if(mprop.getInitialValue()!=null) String sername = (String)SJavaParser.parseExpression(mprop.getInitialValue(), model.getAllImports(), cl).getValue(null); cbsername.setSelectedItem(sername); if(mprop.getInitialValue()!=null) String methodname = (String)SJavaParser.parseExpression(mprop.getInitialValue(), model.getAllImports(), cl).getValue(null); if(mprop!=null && mprop.getInitialValue()!=null) String rankclname = (String)SJavaParser.parseExpression(mprop.getInitialValue(), model.getAllImports(), cl).getValue(null); if(rankclname!=null)
String inival = prop.getInitialValue().getValue(); if(inival != null && inival.length() > 0)
Class<?> iface = (Class<?>)SJavaParser.parseExpression(mprop.getInitialValue(), getModel().getModelInfo().getAllImports(), cl).getValue(null); ibox.setSelectedItem(new ClassInfo(iface.getName())); if(mprop!=null) String mname = (String)SJavaParser.parseExpression(mprop.getInitialValue(), getModel().getModelInfo().getAllImports(), cl).getValue(null); if(mname!=null)
if(SJavaParser.evaluateExpression(mprop.getInitialValue().getValue(), null)!=null) valtxt = mprop.getInitialValue().getValue();