if (x.isGreaterThanOrEqualTo((Integer) getChildItem(Space.ORIGIN_X_COORDINATE)) && x.isSmallerThan((Integer) getChildItem(Space.EXPANSE_X_COORDINATE))) {
if (x.isGreaterThanOrEqualTo((Integer) getChild(Space.ORIGIN_X_COORDINATE)) && x.isSmallerThan((Integer) getChild(Space.EXPANSE_X_COORDINATE))) {
    public boolean xContains(Integer x) throws Exception {        boolean b = false;        if (x != null) {            if (x.isGreaterThanOrEqualTo((Integer) getChildItem(Space.ORIGIN_X_COORDINATE))                && x.isSmallerThan((Integer) getChildItem(Space.EXPANSE_X_COORDINATE))) {                b = true;            }        } else {            throw new Exception("Could not check x position. The x position is null.");        }        return b;    }