/** * @param isStair the isStair to set */ public void setStair(bool isStair) { this._isStair = isStair; if (origin != null && destination != null) { origin.setIsStairEndpoint(isStair); destination.setIsStairEndpoint(isStair); } }