public String getNodeName()
{
- return(nodeName);
+ return nodeName;
}
public String getNodeType()
{
- return(nodeType);
+ return nodeType;
}
public SvcLogicGraph getGraph()
{
- return(graph);
+ return graph;
}
public int getNumOutcomes()
{
if (outcomes == null)
{
- return(0);
+ return 0;
}
else
{
- return(outcomes.size());
+ return outcomes.size();
}
}
{
if (attributes.containsKey(name))
{
- return(attributes.get(name));
+ return attributes.get(name);
}
else
{
- return(null);
+ return null;
}
}
try
{
SvcLogicExpression parmValue;
- if ((value == null) || (value.length() == 0))
+ if (value == null || value.length() == 0)
{
parmValue = new SvcLogicAtom("STRING", "");
}
{
if (parameters.containsKey(name))
{
- return(parameters.get(name));
+ return parameters.get(name);
}
else
{
- return(null);
+ return null;
}
}
return null;
}
- return(outcomes.entrySet());
+ return outcomes.entrySet();
}
return null;
}
- return(parameters.entrySet());
+ return parameters.entrySet();
}
pstr.print("'`");
}
- if (((parameters == null) || (parameters.isEmpty())) &&
- ((outcomes == null) || outcomes.isEmpty()))
+ if ((parameters == null || parameters.isEmpty()) &&
+ (outcomes == null || outcomes.isEmpty()))
{
pstr.print("/>\n");
pstr.flush();
}
if (outcomes == null)
{
- return(null);
+ return null;
}
if (outcomes.containsKey(value))
{
- return(outcomes.get(value));
+ return outcomes.get(value);
}
else
{
if (outcomes.containsKey("Other"))
{
- return(outcomes.get("Other"));
+ return outcomes.get("Other");
}
else
{
- return(null);
+ return null;
}
}
}