*/
public StringIndexOf(CompositeEntity container, String name)
throws NameDuplicationException, IllegalActionException {
super(container, name);
searchFor = new PortParameter(this, "searchFor");
searchFor.setStringMode(true);
searchFor.setExpression("");
(new SingletonParameter(searchFor.getPort(), "_showName"))
.setToken(BooleanToken.TRUE);
inText = new PortParameter(this, "inText");
inText.setStringMode(true);
inText.setExpression("");
(new SingletonParameter(inText.getPort(), "_showName"))
.setToken(BooleanToken.TRUE);
ignoreCase = new Parameter(this, "ignoreCase");
ignoreCase.setTypeEquals(BaseType.BOOLEAN);
ignoreCase.setToken(new BooleanToken(false));
startIndex = new PortParameter(this, "startIndex");
startIndex.setTypeEquals(BaseType.INT);
startIndex.setExpression("0");
(new SingletonParameter(startIndex.getPort(), "_showName"))
.setToken(BooleanToken.TRUE);