}
public ConstraintGraphXmlBean getXmlBean()
{
ConstraintGraphXmlBean ret = new ConstraintGraphXmlBean();
FoldingPointXmlBean[] foldPointXmlBeans = new FoldingPointXmlBean[_foldingPoints.size()];
for (int i = 0; i < _foldingPoints.size(); i++)
{
FoldingPoint point = _foldingPoints.elementAt(i);
foldPointXmlBeans[i] = new FoldingPointXmlBean();
foldPointXmlBeans[i].setX(point.getUnZoomedPoint().x);
foldPointXmlBeans[i].setY(point.getUnZoomedPoint().y);
}
ret.setFoldingPointXmlBeans(foldPointXmlBeans);
return ret;
}