/** Undefine the position property. */ public void undefinePosition() { positionID.undefine(); }
/** * Get the ID of position of this blockade. * * @return The position. */ @Override public Road getPosition() { return position == null ? position = (Road) standardModel().getEntity(positionID.getValue()) : position; }
/** * Find out if the position property has been defined. * * @return True if the position property has been defined, false otherwise. */ public boolean isPositionDefined() { return positionID.isDefined(); }
/** * Get the ID of position of this blockade. * * @return The position. */ public EntityID getPositionID() { return positionID.getValue(); }