// FIXME: Put in a name change from newServiceTime to serviceTime in MoML filters.
serviceTime = new PortParameter(this, "serviceTime");
serviceTime.setExpression("1.0");
serviceTime.setTypeEquals(BaseType.DOUBLE);
// Put the delay port at the bottom of the icon by default.
StringAttribute cardinality = new StringAttribute(
serviceTime.getPort(), "_cardinal");
cardinality.setExpression("SOUTH");
_queue = new FIFOQueue();
size = new TypedIOPort(this, "size", false, true);
size.setTypeEquals(BaseType.INT);
// Put it at the bottom of the icon by default.
cardinality = new StringAttribute(size, "_cardinal");
cardinality.setExpression("SOUTH");
capacity = new Parameter(this, "capacity");
capacity.setTypeEquals(BaseType.INT);
capacity.setExpression("0");
}